Skip to content

Commit

Permalink
Fix ace-installer chart (#542)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
Signed-off-by: Rokibul Hasan <[email protected]>
Co-authored-by: Rokibul Hasan <[email protected]>
  • Loading branch information
tamalsaha and RokibulHasan7 authored Oct 25, 2024
1 parent 9ed165f commit 8a51fab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions charts/ace-installer/templates/precheck/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ metadata:
name: {{ include "ace-installer.fullname" . }}-precheck
namespace: {{ .Release.Namespace }}
annotations:
"helm.sh/hook-weight": "0"
"helm.sh/hook-weight": "1"
"helm.sh/hook": pre-install,pre-upgrade,pre-rollback
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
spec:
backoffLimit: 4
backoffLimit: 0
manualSelector: true
selector:
matchLabels:
Expand Down
8 changes: 2 additions & 6 deletions charts/ace-installer/templates/precheck/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@ metadata:
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
rules:
- apiGroups: [""]
resources: ["configmaps"]
resourceNames: ["cluster-info"]
verbs: ["get"]
resources: ["configmaps", "namespaces", "secrets", "services"]
verbs: [ "get", "list", "watch" ]
- apiGroups: ["apps"]
resources: ["deployments"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["services"]
verbs: ["get", "list", "watch"]
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["get", "list", "watch"]
Expand Down

0 comments on commit 8a51fab

Please sign in to comment.