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

charts: disable TLS

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