Skip to content

Commit

Permalink
adguard: fix init job script
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorisFeddema committed Jul 9, 2024
1 parent 6d96aa6 commit 1246077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/adguard/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
apiVersion: v2
name: adguard
version: 1.1.4
version: 1.1.5
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ spec:
command:
- sh
- "-c"
- kubectl get secret {{ template "common.fullname" . }}-secondary-password -n {{ .Release.Namespace }} >/dev/null 2>&1 || kubectl create secret -n default generic {{ template "common.fullname" . }}-secondary-password -n {{ .Release.Namespace }} --password=$(openssl rand -base64 32)
- kubectl get secret {{ template "common.fullname" . }}-secondary-password -n {{ .Release.Namespace }} >/dev/null 2>&1 || kubectl create secret -n default generic {{ template "common.fullname" . }}-secondary-password -n {{ .Release.Namespace }} --from-literal=password=$(openssl rand -base64 32)
restartPolicy: OnFailure
serviceAccountName: {{ template "common.fullname" . }}-init-secret-job

0 comments on commit 1246077

Please sign in to comment.