Skip to content

Commit

Permalink
interbtc-parachain
Browse files Browse the repository at this point in the history
  • Loading branch information
ns212 committed Feb 7, 2023
1 parent 7fb7aa7 commit 370711c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/interbtc-parachain/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Helm chart for PolkaBTC

type: application
apiVersion: v2
version: 0.4.10
version: 0.4.11
appVersion: 2.0.0

home: https://interlay.io/
Expand Down
12 changes: 6 additions & 6 deletions charts/interbtc-parachain/templates/restart-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
kind: ServiceAccount
apiVersion: v1
metadata:
name: deployment-restart
name: {{ include "polkabtc.fullname" . }}-deployment-restart
namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/hook": post-install
Expand All @@ -12,7 +12,7 @@ metadata:
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: deployment-restart
name: {{ include "polkabtc.fullname" . }}-deployment-restart
namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/hook": post-install
Expand All @@ -27,18 +27,18 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: deployment-restart
name: {{ include "polkabtc.fullname" . }}-deployment-restart
namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/hook": post-install
"helm.sh/hook-delete-policy": hook-succeeded
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: deployment-restart
name: {{ include "polkabtc.fullname" . }}-deployment-restart
subjects:
- kind: ServiceAccount
name: deployment-restart
name: {{ include "polkabtc.fullname" . }}-deployment-restart
---
apiVersion: batch/v1
kind: Job
Expand All @@ -53,7 +53,7 @@ metadata:
spec:
template:
spec:
serviceAccountName: deployment-restart
serviceAccountName: {{ include "polkabtc.fullname" . }}-deployment-restart
restartPolicy: Never
containers:
- name: kubectl
Expand Down

0 comments on commit 370711c

Please sign in to comment.