This is an automated email from the ASF dual-hosted git repository.
wangyang0918 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new 856f6f7 [FLINK-26786] Add default container annotation to the
operator deployment
856f6f7 is described below
commit 856f6f799c67a528d904f2c4f5664f4bae4c68c5
Author: Hao Xin <[email protected]>
AuthorDate: Mon Mar 21 22:49:46 2022 +0800
[FLINK-26786] Add default container annotation to the operator deployment
---
helm/flink-operator/templates/flink-operator.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/helm/flink-operator/templates/flink-operator.yaml
b/helm/flink-operator/templates/flink-operator.yaml
index df79f91..305ea4b 100644
--- a/helm/flink-operator/templates/flink-operator.yaml
+++ b/helm/flink-operator/templates/flink-operator.yaml
@@ -32,6 +32,8 @@ spec:
metadata:
labels:
{{- include "flink-operator.selectorLabels" . | nindent 8 }}
+ annotations:
+ kubectl.kubernetes.io/default-container: {{ .Chart.Name }}
spec:
securityContext:
runAsUser: 9999