Skip to content

Commit

Permalink
Update installer precheck config (#558)
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 Nov 4, 2024
1 parent ac77a3f commit daa1d96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions charts/ace-installer/templates/precheck/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ metadata:
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
stringData:
options.yaml: |
version: {{ .Chart.AppVersion }}}
{{- with $licenses }}
licenses: {{ . | toJson }}
{{- end }}
{{- if .Values.registry }}
{{- with .Values.registry }}
registry:
{{- .Values.registry | toYaml | nindent 6 }}
{{- if .Values.image }}
image:
{{- .Values.image | toYaml | nindent 8 }}
{{- end }}
{{- . | toYaml | nindent 6 }}
{{- end }}
{{- with .Values.image }}
image:
{{- . | toYaml | nindent 6 }}
{{- end }}
{{- if .Values.selfManagement }}
selfManagement:
Expand Down
2 changes: 1 addition & 1 deletion charts/ace-installer/templates/precheck/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
rules:
- apiGroups: [""]
resources: ["configmaps", "namespaces", "secrets", "services"]
resources: ["configmaps", "namespaces", "secrets", "services", "serviceaccounts"]
verbs: [ "get", "list", "watch" ]
- apiGroups: ["apps"]
resources: ["deployments"]
Expand Down

0 comments on commit daa1d96

Please sign in to comment.