diff --git a/cntlm-helm/templates/deployment.yaml b/cntlm-helm/templates/deployment.yaml index e093abb..a12649e 100644 --- a/cntlm-helm/templates/deployment.yaml +++ b/cntlm-helm/templates/deployment.yaml @@ -45,7 +45,7 @@ spec: value: {{ .Values.cntlm.domain }} {{ end }} {{ if .Values.cntlm.username }} - - name: CNTLM_USER + - name: CNTLM_USERNAME value: {{ .Values.cntlm.username }} {{ end }} {{ if .Values.cntlm.passlm }} @@ -61,14 +61,14 @@ spec: secretKeyRef: name: {{ include "cntlm.fullname" . }}-secret key: cntlm_passnt - {{ end }} + {{ end }} {{ if .Values.cntlm.passntlmv2 }} - - name: CNTLM_PASSNTLMv2 + - name: CNTLM_PASSNTLMV2 valueFrom: secretKeyRef: name: {{ include "cntlm.fullname" . }}-secret - key: cntlm_passntlmv2 - {{ end }} + key: cntlm_passntlmv2 + {{ end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/cntlm-helm/templates/secret.yaml b/cntlm-helm/templates/secret.yaml index 0b6bdec..1974f9b 100644 --- a/cntlm-helm/templates/secret.yaml +++ b/cntlm-helm/templates/secret.yaml @@ -8,7 +8,7 @@ metadata: app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} type: Opaque -data: +stringData: {{ if .Values.cntlm.passlm }} cntlm_passlm: {{ .Values.cntlm.passlm }} {{ end }} @@ -17,4 +17,4 @@ data: {{ end }} {{ if .Values.cntlm.passntlmv2 }} cntlm_passntlmv2: {{ .Values.cntlm.passntlmv2 }} - {{ end }} \ No newline at end of file + {{ end }} diff --git a/cntlm-helm/values.yaml b/cntlm-helm/values.yaml index bb8b4f6..0207fe4 100644 --- a/cntlm-helm/values.yaml +++ b/cntlm-helm/values.yaml @@ -38,7 +38,7 @@ cntlm: proxy: 45.55.27.15:8080 -resources: +resources: # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little # resources, such as Minikube. If you do want to specify resources, uncomment the following