Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions cntlm-helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions cntlm-helm/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -17,4 +17,4 @@ data:
{{ end }}
{{ if .Values.cntlm.passntlmv2 }}
cntlm_passntlmv2: {{ .Values.cntlm.passntlmv2 }}
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion cntlm-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down