diff --git a/charts/json-server/Chart.yaml b/charts/json-server/Chart.yaml index 834c538..5a8d8b1 100644 --- a/charts/json-server/Chart.yaml +++ b/charts/json-server/Chart.yaml @@ -6,10 +6,10 @@ 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.4.0 +version: v0.5.0 # 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.4.0" +appVersion: "v0.5.0" diff --git a/charts/json-server/templates/configmap.yaml b/charts/json-server/templates/configmap.yaml index ea3a9bd..d2f770f 100644 --- a/charts/json-server/templates/configmap.yaml +++ b/charts/json-server/templates/configmap.yaml @@ -1,9 +1,9 @@ -{{- if not .Values.jsonserver.data.existingConfigMap }} +{{- if not .Values.seedData.existingConfigMap }} apiVersion: v1 kind: ConfigMap metadata: name: {{ .Release.Name }}-configmap data: db.json: | -{{ include "common.tplvalues.render" ( dict "value" .Values.jsonserver.data.configInline "context" $) | indent 4 }} +{{ include "common.tplvalues.render" ( dict "value" .Values.seedData.configInline "context" $) | indent 4 }} {{- end -}} diff --git a/charts/json-server/values.yaml b/charts/json-server/values.yaml index e20ccd2..1704085 100644 --- a/charts/json-server/values.yaml +++ b/charts/json-server/values.yaml @@ -1,10 +1,9 @@ # Default values for json-server. -jsonserver: - data: - # Not implemented yet - # existingConfigMap: "" - configInline: {} +seedData: + # Not implemented yet + # existingConfigMap: "" + configInline: {} replicaCount: 1