This commit is contained in:
parent
be3f0d2466
commit
ec3b2e3286
@ -1,24 +1,15 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: json-server
|
name: json-server
|
||||||
description: A Helm chart for Kubernetes
|
description: Serve data from json-source as REST API
|
||||||
|
|
||||||
# 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.
|
|
||||||
type: application
|
type: application
|
||||||
|
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# 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.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# 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
|
# 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
|
# 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.
|
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||||
# It is recommended to use it with quotes.
|
# 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
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ .Release.Name }}-configmap
|
name: {{ .Release.Name }}-configmap
|
||||||
data:
|
data:
|
||||||
db.json: |
|
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 -}}
|
{{- end -}}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Default values for json-server.
|
# Default values for json-server.
|
||||||
|
|
||||||
json-server:
|
jsonserver:
|
||||||
data:
|
data:
|
||||||
# Not implemented yet
|
# Not implemented yet
|
||||||
# existingConfigMap: ""
|
# existingConfigMap: ""
|
||||||
|
Loading…
Reference in New Issue
Block a user