Skip to content

Commit

Permalink
Manual bundle-to-charts update for main branch (stolostron#1044)
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Gdaniec <[email protected]>
  • Loading branch information
joeg-pro authored May 31, 2023
1 parent b2fb846 commit ae37f1a
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/rendering/renderer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func TestRender(t *testing.T) {
os.Setenv("HTTPS_PROXY", "test2")
os.Setenv("NO_PROXY", "test3")
os.Setenv("DIRECTORY_OVERRIDE", "../templates")
os.Setenv("ACM_HUB_OCP_VERSION", "4.10.0")

testImages := map[string]string{}
for _, v := range utils.GetTestImages() {
Expand Down Expand Up @@ -245,6 +246,7 @@ func TestRender(t *testing.T) {
os.Unsetenv("NO_PROXY")
os.Unsetenv("POD_NAMESPACE")
os.Unsetenv("DIRECTORY_OVERRIDE")
os.Unsetenv("ACM_HUB_OCP_VERSION")

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ spec:
{{- end }}
securityContext:
runAsNonRoot: true
{{- if semverCompare ">=4.11.0" .Values.hubconfig.ocpVersion }}
seccompProfile:
type: RuntimeDefault
{{- end }}
serviceAccountName: multicluster-applications
{{- with .Values.hubconfig.tolerations }}
tolerations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ spec:
{{- end }}
securityContext:
runAsNonRoot: true
{{- if semverCompare ">=4.11.0" .Values.hubconfig.ocpVersion }}
seccompProfile:
type: RuntimeDefault
{{- end }}
serviceAccountName: multicluster-applications
{{- with .Values.hubconfig.tolerations }}
tolerations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ spec:
{{- end }}
securityContext:
runAsNonRoot: true
{{- if semverCompare ">=4.11.0" .Values.hubconfig.ocpVersion }}
seccompProfile:
type: RuntimeDefault
{{- end }}
serviceAccountName: multicluster-operators
{{- with .Values.hubconfig.tolerations }}
tolerations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ spec:
{{- end }}
securityContext:
runAsNonRoot: true
{{- if semverCompare ">=4.11.0" .Values.hubconfig.ocpVersion }}
seccompProfile:
type: RuntimeDefault
{{- end }}
serviceAccountName: multicluster-operators
{{- with .Values.hubconfig.tolerations }}
tolerations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ spec:
{{- end }}
securityContext:
runAsNonRoot: true
{{- if semverCompare ">=4.11.0" .Values.hubconfig.ocpVersion }}
seccompProfile:
type: RuntimeDefault
{{- end }}
serviceAccountName: multicluster-operators
{{- with .Values.hubconfig.tolerations }}
tolerations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ spec:
{{- end }}
securityContext:
runAsNonRoot: true
{{- if semverCompare ">=4.11.0" .Values.hubconfig.ocpVersion }}
seccompProfile:
type: RuntimeDefault
{{- end }}
serviceAccountName: multicluster-applications
{{- with .Values.hubconfig.tolerations }}
tolerations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ spec:
{{- end }}
securityContext:
runAsNonRoot: true
{{- if semverCompare ">=4.11.0" .Values.hubconfig.ocpVersion }}
seccompProfile:
type: RuntimeDefault
{{- end }}
serviceAccountName: search-v2-operator
terminationGracePeriodSeconds: 10
{{- with .Values.hubconfig.tolerations }}
Expand Down

0 comments on commit ae37f1a

Please sign in to comment.