Skip to content

Commit

Permalink
fix(installer): update platform chart eenable audit
Browse files Browse the repository at this point in the history
  • Loading branch information
wl-chen committed Mar 30, 2022
1 parent 1847720 commit a31b812
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/tke-platform/templates/tke-platform-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
image: {{ .Values.api.image }}
args:
- -C=/app/conf/tke-platform-api.toml
{{- if .EnableAudit }}
{{- if .Values.enableAudit }}
- --audit-policy-file=/app/conf/audit-policy.yaml
- --audit-webhook-config-file=/app/conf/audit-api-client-config.yaml
{{- end }}
Expand Down Expand Up @@ -262,7 +262,7 @@ data:
user: admin-cert
name: tke
{{- if .EnableAudit }}
{{- if .Values.enableAudit }}
audit-policy.yaml: |
apiVersion: audit.k8s.io/v1
kind: Policy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
image: {{ .Values.api.image }}
args:
- -C=/app/conf/tke-platform-api.toml
{{- if .EnableAudit }}
{{- if .Values.enableAudit }}
- --audit-policy-file=/app/conf/audit-policy.yaml
- --audit-webhook-config-file=/app/conf/audit-api-client-config.yaml
{{- end }}
Expand Down Expand Up @@ -262,7 +262,7 @@ data:
user: admin-cert
name: tke
{{- if .EnableAudit }}
{{- if .Values.enableAudit }}
audit-policy.yaml: |
apiVersion: audit.k8s.io/v1
kind: Policy
Expand Down

0 comments on commit a31b812

Please sign in to comment.