Skip to content

Commit

Permalink
Fix due to review
Browse files Browse the repository at this point in the history
  • Loading branch information
sumo-drosiek committed May 28, 2020
1 parent 03a300c commit a45a104
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
{{- template "sumologic.labels.app.setup" . }}
{{- end -}}

{{- define "sumologic.labels.app.setup.rolesserviceaccount" -}}
{{- define "sumologic.labels.app.setup.roles.serviceaccount" -}}
{{- template "sumologic.labels.app.setup" . }}
{{- end -}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
annotations:
{{ toYaml .Values.sumologic.setup.clusterRole.annotations | indent 4 }}
labels:
app: {{ template "sumologic.labels.app.roles.clusterrole" . }}
app: {{ template "sumologic.labels.app.setup.roles.clusterrole" . }}
{{- include "sumologic.labels.common" . | nindent 4 }}
rules:
- apiGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
annotations:
{{ toYaml .Values.sumologic.setup.clusterRoleBinding.annotations | indent 4 }}
labels:
app: {{ template "sumologic.labels.app.roles.clusterrolebinding" . }}
app: {{ template "sumologic.labels.app.setup.roles.clusterrolebinding" . }}
{{- include "sumologic.labels.common" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ metadata:
annotations:
{{ toYaml .Values.sumologic.setup.serviceAccount.annotations | indent 4 }}
labels:
app: {{ template "sumologic.labels.app.roles.serviceaccount" . }}
app: {{ template "sumologic.labels.app.setup.roles.serviceaccount" . }}
{{- include "sumologic.labels.common" . | nindent 4 }}
{{- end }}

0 comments on commit a45a104

Please sign in to comment.