Skip to content
Snippets Groups Projects
Commit b2636b70 authored by Lars Seipel's avatar Lars Seipel
Browse files

charts: disable TLS

parent 9f64f1bf
Branches
No related tags found
1 merge request!1charts: disable TLS
......@@ -31,11 +31,6 @@ spec:
serviceAccountName: {{ include "bbbatscale-support-notify.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
volumes:
- name: tls
secret:
defaultMode: 420
secretName: {{ include "bbbatscale-support-notify.fullname" . }}-tls
containers:
- name: {{ .Chart.Name }}
securityContext:
......@@ -46,18 +41,12 @@ spec:
- secretRef:
name: {{ include "bbbatscale-support-notify.fullname" . }}
env:
- name: NOTIFY_CERT
value: /etc/tls/private/tls.crt
- name: NOTIFY_KEY
value: /etc/tls/private/tls.key
- name: NOTIFY_NOTLS
value: "1"
ports:
- name: https
containerPort: 8443
- name: http
containerPort: 8080
protocol: TCP
volumeMounts:
- mountPath: /etc/tls/private
name: tls
readOnly: true
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
......
......@@ -4,13 +4,11 @@ metadata:
name: {{ include "bbbatscale-support-notify.fullname" . }}
labels:
{{- include "bbbatscale-support-notify.labels" . | nindent 4 }}
annotations:
service.alpha.openshift.io/serving-cert-secret-name: {{ include "bbbatscale-support-notify.fullname" . }}-tls
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: 8443
targetPort: 8080
protocol: TCP
name: http
selector:
......
......@@ -51,7 +51,7 @@ securityContext: {}
service:
type: ClusterIP
port: 8443
port: 80
ingress:
enabled: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment