File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,12 @@ helm.sh/chart: {{ include "openfga.chart" . }}
4747{{- with .Values.commonLabels }}
4848{{ . | toYaml }}
4949{{- end }}
50+ app.kubernetes.io /component: authorization-controller
5051{{- if .Chart.AppVersion }}
5152app.kubernetes.io /version: {{ .Chart.AppVersion | quote }}
5253{{- end }}
5354app.kubernetes.io /managed-by: {{ .Release.Service }}
55+ app.kubernetes.io /part-of: openfga
5456{{- end }}
5557
5658{{/*
Original file line number Diff line number Diff line change 2525 prometheus.io/path : /metrics
2626 prometheus.io/port : " {{ (split " :" .Values.telemetry.metrics.addr)._1 }}"
2727 labels :
28- {{- include "openfga.selectorLabels" . | nindent 8 }}
29- {{- with .Values.commonLabels }}
30- {{- toYaml . | nindent 8 }}
31- {{- end }}
28+ {{- include "openfga.labels" . | nindent 8 }}
3229 {{- with .Values.podExtraLabels }}
3330 {{- toYaml . | nindent 8 }}
3431 {{- end }}
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ apiVersion: rbac.authorization.k8s.io/v1
33kind : Role
44metadata :
55 name : {{ include "openfga.fullname" . }}-job-status-reader
6+ labels :
7+ {{- include "openfga.labels" . | nindent 4 }}
68rules :
79- apiGroups :
810 - batch
@@ -16,11 +18,13 @@ apiVersion: rbac.authorization.k8s.io/v1
1618kind : RoleBinding
1719metadata :
1820 name : {{ include "openfga.fullname" . }}-job-status-reader
21+ labels :
22+ {{- include "openfga.labels" . | nindent 4 }}
1923roleRef :
2024 apiGroup : rbac.authorization.k8s.io
2125 kind : Role
2226 name : {{ include "openfga.fullname" . }}-job-status-reader
2327subjects :
2428- kind : ServiceAccount
2529 name : {{ include "openfga.serviceAccountName" . }}
26- {{- end }}
30+ {{- end }}
You can’t perform that action at this time.
0 commit comments