This repository was archived by the owner on Apr 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +38
-10
lines changed
chart/k8skafka-controller Expand file tree Collapse file tree 4 files changed +38
-10
lines changed Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ keywords:
12
12
name : k8skafka-controller
13
13
sources :
14
14
- https://github.com/DoodleScheduling/k8skafka-controller
15
- version : 0.3.3
15
+ version : 0.4.0
Original file line number Diff line number Diff line change @@ -81,17 +81,17 @@ spec:
81
81
{{- end }}
82
82
{{- if .Values.kubeRBACProxy.enabled }}
83
83
- args :
84
- - --secure-listen-address=0.0.0.0:8443
85
- - --upstream=http://127.0.0.1:{{ .Values.metricsPort }}
86
- - --logtostderr=true
87
- - --v=0
88
- image : quay.io/brancz/kube-rbac-proxy:v0.14.0
84
+ - --secure-listen-address=0.0.0.0:8443
85
+ - --upstream=http://127.0.0.1:{{ .Values.metricsPort }}
86
+ - --logtostderr=true
87
+ - --v=0
88
+ image : {{ .Values.kubeRBACProxy.image }}
89
89
imagePullPolicy : IfNotPresent
90
90
name : kube-rbac-proxy
91
91
ports :
92
- - containerPort : 8443
93
- name : https
94
- protocol : TCP
92
+ - containerPort : 8443
93
+ name : https
94
+ protocol : TCP
95
95
resources :
96
96
{{- toYaml .Values.kubeRBACProxy.resources | nindent 10 }}
97
97
securityContext :
@@ -108,6 +108,8 @@ spec:
108
108
secret :
109
109
secretName : {{ .secretName }}
110
110
{{- end }}
111
+ securityContext :
112
+ {{- toYaml .Values.podSecurityContext | nindent 8 }}
111
113
affinity :
112
114
{{- toYaml .Values.affinity | nindent 8 }}
113
115
imagePullSecrets :
Original file line number Diff line number Diff line change @@ -16,6 +16,24 @@ rules:
16
16
---
17
17
apiVersion : rbac.authorization.k8s.io/v1
18
18
kind : ClusterRoleBinding
19
+ metadata :
20
+ name : {{ include "k8skafka-controller.fullname" . }}-metrics
21
+ labels :
22
+ app.kubernetes.io/name : {{ include "k8skafka-controller.name" . }}
23
+ app.kubernetes.io/instance : {{ .Release.Name }}
24
+ app.kubernetes.io/managed-by : {{ .Release.Service }}
25
+ helm.sh/chart : {{ include "k8skafka-controller.chart" . }}
26
+ roleRef :
27
+ apiGroup : rbac.authorization.k8s.io
28
+ kind : ClusterRole
29
+ name : {{ include "k8skafka-controller.fullname" . }}-metrics-reader
30
+ subjects :
31
+ - kind : ServiceAccount
32
+ name : {{ template "k8skafka-controller.serviceAccountName" . }}
33
+ namespace : {{ .Release.Namespace }}
34
+ ---
35
+ apiVersion : rbac.authorization.k8s.io/v1
36
+ kind : ClusterRoleBinding
19
37
metadata :
20
38
name : {{ include "k8skafka-controller.fullname" . }}-proxy
21
39
labels :
Original file line number Diff line number Diff line change @@ -81,6 +81,8 @@ securityContext:
81
81
capabilities :
82
82
drop : ["all"]
83
83
readOnlyRootFilesystem : true
84
+
85
+ podSecurityContext :
84
86
runAsGroup : 10000
85
87
runAsNonRoot : true
86
88
runAsUser : 10000
@@ -119,13 +121,19 @@ prometheusRule:
119
121
120
122
kubeRBACProxy :
121
123
enabled : true
122
-
124
+ image : quay.io/brancz/kube-rbac-proxy:v0.14.2
123
125
securityContext :
124
126
allowPrivilegeEscalation : false
125
127
capabilities :
126
128
drop : ["all"]
127
129
readOnlyRootFilesystem : true
128
130
129
131
resources : {}
132
+ # limits:
133
+ # cpu: 500m
134
+ # memory: 128Mi
135
+ # requests:
136
+ # cpu: 5m
137
+ # memory: 64Mi
130
138
131
139
tolerations : []
You can’t perform that action at this time.
0 commit comments