Skip to content

Commit 34190f3

Browse files
authored
Merge pull request #8 from krancour/charts-fixes
chart: remove duplicate labels and fix selectors
2 parents ab1871d + 66f5cf0 commit 34190f3

File tree

6 files changed

+0
-8
lines changed

6 files changed

+0
-8
lines changed

charts/brigade-cloudevents-gateway/templates/cert-secret.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ metadata:
55
name: {{ include "gateway.fullname" . }}-cert
66
labels:
77
{{- include "gateway.labels" . | nindent 4 }}
8-
{{- include "gateway.labels" . | nindent 4 }}
98
type: Opaque
109
data:
1110
{{- if .Values.tls.generateSelfSignedCert }}

charts/brigade-cloudevents-gateway/templates/config-secret.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ metadata:
44
name: {{ include "gateway.fullname" . }}-config
55
labels:
66
{{- include "gateway.labels" . | nindent 4 }}
7-
{{- include "gateway.labels" . | nindent 4 }}
87
type: Opaque
98
stringData:
109
source-tokens.json: |

charts/brigade-cloudevents-gateway/templates/deployment.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,15 @@ metadata:
44
name: {{ include "gateway.fullname" . }}
55
labels:
66
{{- include "gateway.labels" . | nindent 4 }}
7-
{{- include "gateway.labels" . | nindent 4 }}
87
spec:
98
replicas: {{ .Values.replicas }}
109
selector:
1110
matchLabels:
1211
{{- include "gateway.selectorLabels" . | nindent 6 }}
13-
{{- include "gateway.labels" . | nindent 6 }}
1412
template:
1513
metadata:
1614
labels:
1715
{{- include "gateway.selectorLabels" . | nindent 8 }}
18-
{{- include "gateway.labels" . | nindent 8 }}
1916
annotations:
2017
checksum/secret: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
2118
checksum/config-secret: {{ include (print $.Template.BasePath "/config-secret.yaml") . | sha256sum }}

charts/brigade-cloudevents-gateway/templates/ingress-cert-secret.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ metadata:
55
name: {{ include "gateway.fullname" . }}-ingress-cert
66
labels:
77
{{- include "gateway.labels" . | nindent 4 }}
8-
{{- include "gateway.labels" . | nindent 4 }}
98
type: Opaque
109
data:
1110
{{- if .Values.ingress.tls.generateSelfSignedCert }}

charts/brigade-cloudevents-gateway/templates/ingress.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ metadata:
99
name: {{ include "gateway.fullname" . }}
1010
labels:
1111
{{- include "gateway.labels" . | nindent 4 }}
12-
{{- include "gateway.labels" . | nindent 4 }}
1312
{{- with .Values.ingress.annotations }}
1413
annotations:
1514
{{- toYaml . | nindent 4 }}

charts/brigade-cloudevents-gateway/templates/service.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ spec:
2020
protocol: TCP
2121
selector:
2222
{{- include "gateway.selectorLabels" . | nindent 8 }}
23-
{{- include "gateway.labels" . | nindent 8 }}

0 commit comments

Comments
 (0)