Skip to content

Commit 142e1f3

Browse files
committed
WIP: Add podArguments and service.annotations
Signed-off-by: Todd Short <[email protected]>
1 parent 1bf2d65 commit 142e1f3

5 files changed

+18
-0
lines changed

helm/olmv1/templates/26-service-olmv1-system-catalogd-service.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ kind: Service
44
metadata:
55
annotations:
66
{{- include "olmv1.annotations" . | nindent 4 }}
7+
{{- with .Values.components.catalogd.service.annotations }}
8+
{{- toYaml . | nindent 4 }}
9+
{{- end }}
710
labels:
811
control-plane: catalogd-controller-manager
912
app.kubernetes.io/name: catalogd

helm/olmv1/templates/27-service-olmv1-system-operator-controller-service.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ kind: Service
44
metadata:
55
annotations:
66
{{- include "olmv1.annotations" . | nindent 4 }}
7+
{{- with .Values.components.operatorController.service.annotations }}
8+
{{- toYaml . | nindent 4 }}
9+
{{- end }}
710
labels:
811
control-plane: operator-controller-controller-manager
912
app.kubernetes.io/name: operator-controller

helm/olmv1/templates/29-deployment-olmv1-system-catalogd-controller-manager.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ spec:
5252
- --tls-cert=/var/certs/tls.crt
5353
- --tls-key=/var/certs/tls.key
5454
- --pull-cas-dir=/var/ca-certs
55+
{{- with .Values.components.operatorController.podArguments }}
56+
{{- toYaml . | nindent 12 }}
57+
{{- end }}
5558
command:
5659
- ./catalogd
5760
{{- if .Values.components.e2e.enabled }}

helm/olmv1/templates/30-deployment-olmv1-system-operator-controller-controller-manager.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ spec:
6161
- --pull-cas-dir=/var/certs
6262
- --tls-cert=/var/certs/tls.cert
6363
- --tls-key=/var/certs/tls.key
64+
{{- with .Values.components.catalogd.podArguments }}
65+
{{- toYaml . | nindent 12 }}
66+
{{- end }}
6467
command:
6568
- /operator-controller
6669
{{- if .Values.components.e2e.enabled }}

helm/olmv1/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ components:
1515
affinity: {}
1616
nodeSelector: {}
1717
tolerations: {}
18+
podArguments: {}
19+
service:
20+
annotations: {}
1821
catalogd:
1922
enabled: true
2023
image:
@@ -26,6 +29,9 @@ components:
2629
affinity: {}
2730
nodeSelector: {}
2831
tolerations: {}
32+
podArguments: {}
33+
service:
34+
annotations: {}
2935
certManager:
3036
enabled: true
3137
e2e:

0 commit comments

Comments
 (0)