Skip to content

Commit

Permalink
Move out the RBAC proxy image as templating value (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
GezimSejdiu authored Mar 24, 2022
1 parent bb01e58 commit 0776c83
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion helm-chart/flink-operator/templates/flink-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ spec:
- --upstream=http://127.0.0.1:8080/
- --logtostderr=true
- --v=10
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
image: {{ .Values.rbacProxyImage.name }}
imagePullPolicy: {{ .Values.rbacProxyImage.pullPolicy }}
ports:
- containerPort: 8443
name: https
Expand All @@ -71,6 +72,7 @@ spec:
command:
- /flink-operator
image: {{ .Values.operatorImage.name }}
imagePullPolicy: {{ .Values.operatorImage.pullPolicy }}
ports:
- containerPort: 9443
name: webhook-server
Expand Down
7 changes: 6 additions & 1 deletion helm-chart/flink-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ flinkOperatorNamespace:

# Watch custom resources in the namespace, ignore other namespaces. If empty, all namespaces will be watched.
watchNamespace:
name: "flink-job"
name: ""

# The number of replicas of the operator Deployment
replicas: 1
Expand All @@ -27,6 +27,11 @@ operatorImage:
name: ghcr.io/spotify/flink-operator:latest
pullPolicy: IfNotPresent

# The definition of the kube-rbac-proxy image
rbacProxyImage:
name: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
pullPolicy: IfNotPresent

# Defines security context for operator container
securityContext:
{}
Expand Down

0 comments on commit 0776c83

Please sign in to comment.