Skip to content

Commit

Permalink
fixed location of the readOnlyRootFilesystem param
Browse files Browse the repository at this point in the history
  • Loading branch information
Willie Sana committed Sep 16, 2020
1 parent b4565c9 commit ecd531b
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ package accurics
{{- if eq .is_init true }}

{{.prefix}}{{.name}}{{.suffix}}[api.id] {
{{- template "initContainers" .}}
initContainers.readOnlyRootFilesystem == false
{{- template "initContainersSecurityContext" .}}
initContainersSecurityContext.readOnlyRootFilesystem == false
}

{{.prefix}}{{.name}}{{.suffix}}[api.id] {
{{- template "initContainersTF" .}}
initContainersTF.read_only_root_filesystem == false
{{- template "initContainersSecurityContextTF" .}}
initContainersSecurityContextTF.read_only_root_filesystem == false
}

{{- else }}

{{.prefix}}{{.name}}{{.suffix}}[api.id] {
{{- template "containers" .}}
containers.readOnlyRootFilesystem == false
{{- template "containersSecurityContext" .}}
containersSecurityContext.readOnlyRootFilesystem == false
}

{{.prefix}}{{.name}}{{.suffix}}[api.id] {
{{- template "containersTF" .}}
containersTF.read_only_root_filesystem == false
{{- template "containersSecurityContextTF" .}}
containersSecurityContextTF.read_only_root_filesystem == false
}

{{- end }}
Expand Down

0 comments on commit ecd531b

Please sign in to comment.