diff --git a/tooling/charts/tl500-course-content/templates/docs/configmap.yaml b/tooling/charts/tl500-course-content/templates/docs/configmap.yaml index 7f84b96..d015e04 100644 --- a/tooling/charts/tl500-course-content/templates/docs/configmap.yaml +++ b/tooling/charts/tl500-course-content/templates/docs/configmap.yaml @@ -6,5 +6,5 @@ metadata: name: {{ .Values.docs.config.configMapName }} namespace: {{ $.Values.docs.namespace }} data: - all.json: {{ $.Values.docs.config.configFileContent }} + all.json: {{ $.Values.docs.config.configFileContent | toPrettyJson }} {{- end }} diff --git a/tooling/charts/tl500-course-content/templates/docs/deploy.yaml b/tooling/charts/tl500-course-content/templates/docs/deploy.yaml index e170e29..6e26811 100644 --- a/tooling/charts/tl500-course-content/templates/docs/deploy.yaml +++ b/tooling/charts/tl500-course-content/templates/docs/deploy.yaml @@ -1,18 +1,19 @@ {{- if .Values.docs }} --- -apiVersion: apps.openshift.io/v1 +apiVersion: apps/v1 kind: Deployment metadata: name: "{{ .Values.docs.name }}" namespace: "{{ .Values.docs.namespace }}" - labels: - app: "{{ .Values.docs.name }}" spec: replicas: 1 selector: matchLabels: app: "{{ .Values.docs.name }}" template: + metadata: + labels: + app: "{{ .Values.docs.name }}" spec: {{- if .Values.docs.config }} volumes: diff --git a/tooling/charts/tl500-course-content/values.yaml b/tooling/charts/tl500-course-content/values.yaml index a1335c2..8b2a839 100644 --- a/tooling/charts/tl500-course-content/values.yaml +++ b/tooling/charts/tl500-course-content/values.yaml @@ -61,7 +61,7 @@ crw: # configMapName: tl500-docs-config # configFileContent: | # { -# "devfile_location": "https://raw.githubusercontent.com/rht-labs/enablement-framework/main/codereadyworkspaces/tl500-devfile.yaml" +# "devfile": "https://raw.githubusercontent.com/rht-labs/enablement-framework/main/codereadyworkspaces/tl500-devfile.yaml" # } stackrox-chart: