From 40b1efa142babc7df0ecbf1024c2b51efe7d5005 Mon Sep 17 00:00:00 2001 From: Hossam Hammady Date: Mon, 12 Oct 2020 10:45:26 +0000 Subject: [PATCH 1/3] Add echo command in NOTES to get password --- charts/code-server/templates/NOTES.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/code-server/templates/NOTES.txt b/charts/code-server/templates/NOTES.txt index e9af85992..17c25f646 100644 --- a/charts/code-server/templates/NOTES.txt +++ b/charts/code-server/templates/NOTES.txt @@ -22,4 +22,4 @@ Administrator credentials: - Password : $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "code-server.fullname" . }} -o jsonpath="{.data.password}" | base64 --decode) + Password: echo $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "code-server.fullname" . }} -o jsonpath="{.data.password}" | base64 --decode) From d323f4f75bea04339043a28f4b31761641099721 Mon Sep 17 00:00:00 2001 From: Hossam Hammady Date: Mon, 12 Oct 2020 10:46:52 +0000 Subject: [PATCH 2/3] Add missing existingClaim in values.yaml comments --- charts/code-server/values.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/charts/code-server/values.yaml b/charts/code-server/values.yaml index 57a01d873..182116546 100644 --- a/charts/code-server/values.yaml +++ b/charts/code-server/values.yaml @@ -114,6 +114,7 @@ persistence: accessMode: ReadWriteOnce size: 1Gi annotations: {} + # existingClaim: "" serviceAccount: create: true From fd241d555bacdbc49f64537edd1e8c15880e375d Mon Sep 17 00:00:00 2001 From: Hossam Hammady Date: Mon, 12 Oct 2020 10:49:21 +0000 Subject: [PATCH 3/3] Fix indentation for extra mounts --- charts/code-server/templates/deployment.yaml | 22 ++++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/charts/code-server/templates/deployment.yaml b/charts/code-server/templates/deployment.yaml index 52c1ee954..60caa3307 100644 --- a/charts/code-server/templates/deployment.yaml +++ b/charts/code-server/templates/deployment.yaml @@ -80,21 +80,21 @@ spec: mountPath: /home/coder/.local/share/code-server subPath: code-server {{- range .Values.extraConfigmapMounts }} - - name: {{ .name }} - mountPath: {{ .mountPath }} - subPath: {{ .subPath | default "" }} - readOnly: {{ .readOnly }} + - name: {{ .name }} + mountPath: {{ .mountPath }} + subPath: {{ .subPath | default "" }} + readOnly: {{ .readOnly }} {{- end }} {{- range .Values.extraSecretMounts }} - - name: {{ .name }} - mountPath: {{ .mountPath }} - readOnly: {{ .readOnly }} + - name: {{ .name }} + mountPath: {{ .mountPath }} + readOnly: {{ .readOnly }} {{- end }} {{- range .Values.extraVolumeMounts }} - - name: {{ .name }} - mountPath: {{ .mountPath }} - subPath: {{ .subPath | default "" }} - readOnly: {{ .readOnly }} + - name: {{ .name }} + mountPath: {{ .mountPath }} + subPath: {{ .subPath | default "" }} + readOnly: {{ .readOnly }} {{- end }} ports: - name: http