Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #67 from qameta/sa-fix
Browse files Browse the repository at this point in the history
Fixes ServiceAccount naming
  • Loading branch information
a-ryoo authored Oct 7, 2023
2 parents 876683f + 719e67f commit 326b5d5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
password: ${{ secrets.ARTIFACTORY_PASS }}
repoName: allure-testops
chart: charts/allure-testops
version: 4.14.1
version: 4.14.2
2 changes: 1 addition & 1 deletion charts/allure-testops/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: allure-testops
version: 4.14.1
version: 4.14.2
appVersion: 4.21.0

description: Allure TestOps
Expand Down
2 changes: 1 addition & 1 deletion charts/allure-testops/templates/allure/gateway-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
{{- end }}
spec:
{{- if .Values.rbac.enabled }}
serviceAccountName: sa-{{ template "allure-testops.fullname" . }}
serviceAccountName: {{ .Values.rbac.serviceAccountName }}
{{- end }}
imagePullSecrets:
- name: {{ .Values.registry.imagePullSecret }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
spec:
terminationGracePeriodSeconds: 30
{{- if .Values.rbac.enabled }}
serviceAccountName: sa-{{ template "allure-testops.fullname" . }}
serviceAccountName: {{ .Values.rbac.serviceAccountName }}
{{- end }}
imagePullSecrets:
- name: {{ .Values.registry.imagePullSecret }}
Expand Down Expand Up @@ -180,8 +180,6 @@ spec:
- name: STATIC_CERTS
value: "{{ join "," .Values.certificates.staticCerts }}"
{{- end }}


{{- range $name, $value := .Values.report.env.open }}
- name: {{ $name | quote }}
value: {{ $value | quote }}
Expand Down
2 changes: 1 addition & 1 deletion charts/allure-testops/templates/allure/uaa-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
{{- end }}
spec:
{{- if .Values.rbac.enabled }}
serviceAccountName: sa-{{ template "allure-testops.fullname" . }}
serviceAccountName: {{ .Values.rbac.serviceAccountName }}
{{- end }}
imagePullSecrets:
- name: {{ .Values.registry.imagePullSecret }}
Expand Down
2 changes: 1 addition & 1 deletion charts/allure-testops/templates/infra/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: sa-{{ template "allure-testops.fullname" . }}
name: {{ .Values.rbac.serviceAccountName }}
labels:
app: {{ template "allure-testops.fullname" . }}
chart: {{ template "allure-testops.chart" . }}
Expand Down
1 change: 1 addition & 0 deletions charts/allure-testops/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ monitoring:
###
rbac:
enabled: true
serviceAccountName: allure-testops-sa
rules:
- apiGroups:
- ''
Expand Down

0 comments on commit 326b5d5

Please sign in to comment.