cmd/k8s-operator/deploy: ensure that operator can write kube state Events (#14177)
A small follow-up to #14112- ensures that the operator itself can emit Events for its kube state store changes. Updates tailscale/tailscale#14080 Signed-off-by: Irbe Krumina <irbe@tailscale.com>
This commit is contained in:
parent
e3c6ca43d3
commit
c59ab6baac
|
@ -81,6 +81,14 @@ spec:
|
||||||
- name: PROXY_DEFAULT_CLASS
|
- name: PROXY_DEFAULT_CLASS
|
||||||
value: {{ .Values.proxyConfig.defaultProxyClass }}
|
value: {{ .Values.proxyConfig.defaultProxyClass }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
- name: POD_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: POD_UID
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.uid
|
||||||
{{- with .Values.operatorConfig.extraEnv }}
|
{{- with .Values.operatorConfig.extraEnv }}
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -4783,6 +4783,14 @@ spec:
|
||||||
value: "false"
|
value: "false"
|
||||||
- name: PROXY_FIREWALL_MODE
|
- name: PROXY_FIREWALL_MODE
|
||||||
value: auto
|
value: auto
|
||||||
|
- name: POD_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.name
|
||||||
|
- name: POD_UID
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: metadata.uid
|
||||||
image: tailscale/k8s-operator:unstable
|
image: tailscale/k8s-operator:unstable
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: operator
|
name: operator
|
||||||
|
|
Loading…
Reference in New Issue