This commit is contained in:
		| @@ -1,24 +1,15 @@ | ||||
| apiVersion: v2 | ||||
| name: json-server | ||||
| description: A Helm chart for Kubernetes | ||||
|  | ||||
| # A chart can be either an 'application' or a 'library' chart. | ||||
| # | ||||
| # Application charts are a collection of templates that can be packaged into versioned archives | ||||
| # to be deployed. | ||||
| # | ||||
| # Library charts provide useful utilities or functions for the chart developer. They're included as | ||||
| # a dependency of application charts to inject those utilities and functions into the rendering | ||||
| # pipeline. Library charts do not define any templates and therefore cannot be deployed. | ||||
| description: Serve data from json-source as REST API | ||||
| type: application | ||||
|  | ||||
| # This is the chart version. This version number should be incremented each time you make changes | ||||
| # to the chart and its templates, including the app version. | ||||
| # Versions are expected to follow Semantic Versioning (https://semver.org/) | ||||
| version: v0.3.0 | ||||
| version: v0.3.1 | ||||
|  | ||||
| # This is the version number of the application being deployed. This version number should be | ||||
| # incremented each time you make changes to the application. Versions are not expected to | ||||
| # follow Semantic Versioning. They should reflect the version the application is using. | ||||
| # It is recommended to use it with quotes. | ||||
| appVersion: "v0.3.0" | ||||
| appVersion: "v0.3.1" | ||||
|   | ||||
| @@ -1,9 +1,9 @@ | ||||
| {{- if not .Values.json-server.data.existingConfigMap }} | ||||
| {{- if not .Values.jsonserver.data.existingConfigMap }} | ||||
| apiVersion: v1 | ||||
| kind: ConfigMap | ||||
| metadata: | ||||
|   name: {{ .Release.Name }}-configmap | ||||
| data: | ||||
|   db.json: | | ||||
| {{ include "common.tplvalues.render" ( dict "value" .Values.json-server.data.configInline "context" $) | indent 4 }} | ||||
| {{ include "common.tplvalues.render" ( dict "value" .Values.jsonserver.data.configInline "context" $) | indent 4 }} | ||||
| {{- end -}} | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| # Default values for json-server. | ||||
|  | ||||
| json-server: | ||||
| jsonserver: | ||||
|   data: | ||||
|     # Not implemented yet | ||||
|     # existingConfigMap: "" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user