File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
template/deploy/helm/[[operator]]/templates Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 48
48
valueFrom:
49
49
fieldRef:
50
50
fieldPath: metadata.annotations['internal.stackable.tech/image']
51
+ - name: OPERATOR_NAMESPACE
52
+ valueFrom:
53
+ fieldRef:
54
+ fieldPath: metadata.namespace
55
+ - name: OPERATOR_SERVICE_NAME
56
+ value: {{ include "operator.fullname" . }}
51
57
{{- if .Values.kubernetesClusterDomain }}
52
58
- name: KUBERNETES_CLUSTER_DOMAIN
53
59
value: {{ .Values.kubernetesClusterDomain | quote }}
Original file line number Diff line number Diff line change
1
+
2
+ ---
3
+ apiVersion : v1
4
+ kind : Service
5
+ metadata :
6
+ # Note(@sbernauer): We could also call the Service something like
7
+ # "product-operator-conversion-webhook". However, in the future we will have more webhooks, and
8
+ # it seems like an overkill to have a dedicated Service per webhook.
9
+ name : {{ include "operator.fullname" . }}
10
+ labels :
11
+ {{- include "operator.labels" . | nindent 4 }}
12
+ spec :
13
+ selector :
14
+ {{- include "operator.selectorLabels" . | nindent 6 }}
15
+ ports :
16
+ - name : conversion-webhook
17
+ protocol : TCP
18
+ port : 8443
19
+ targetPort : 8443
You can’t perform that action at this time.
0 commit comments