Skip to content

Commit e8a5b7a

Browse files
authored
test: fix e2e test failures due to upstream change (#715)
1 parent 77715dd commit e8a5b7a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/gatekeeper-disallow-root-user/.expected/results.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
exitCode: 1
66
items:
77
- image: gcr.io/kpt-fn/gatekeeper:unstable
8-
stderr: |
8+
stderr: |-
99
[error] apps/v1/Deployment/nginx-deploy : Containers must not run as root
1010
violatedConstraint: disallowroot
1111
exitCode: 1

examples/gatekeeper-imperative/.expected/results.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
exitCode: 1
66
items:
77
- image: gcr.io/kpt-fn/gatekeeper:unstable
8-
stderr: |
8+
stderr: |-
99
[error] v1/ConfigMap/default/super-secret : The following banned keys are being used in the ConfigMap: {"private_key"}
1010
violatedConstraint: no-secrets-in-configmap
1111
exitCode: 1

examples/gatekeeper-invalid-configmap/.expected/results.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
exitCode: 1
66
items:
77
- image: gcr.io/kpt-fn/gatekeeper:unstable
8-
stderr: |
8+
stderr: |-
99
[error] v1/ConfigMap/default/super-secret : The following banned keys are being used in the ConfigMap: {"private_key"}
1010
violatedConstraint: no-secrets-in-configmap
1111
exitCode: 1

tests/gatekeeper/v1beta1-template/.expected/results.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
exitCode: 1
66
items:
77
- image: gcr.io/kpt-fn/gatekeeper:unstable
8-
stderr: |
8+
stderr: |-
99
[error] apps/v1/Deployment/nginx-deploy : Containers must not run as root
1010
violatedConstraint: disallowroot
1111
exitCode: 1

tests/starlark/non-standard-features/.expected/results.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
exitCode: 0
66
items:
77
- image: gcr.io/kpt-fn/starlark:unstable
8-
stderr: |
8+
stderr: |-
99
set(["foo", "bar"])
1010
2
1111
exitCode: 0

0 commit comments

Comments
 (0)