Skip to content

Commit

Permalink
chore: regenerate artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Trought <k8s@trought.ca>
  • Loading branch information
ctrought committed Jun 20, 2023
1 parent 700bfdd commit f7ae6f9
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Pod
metadata:
name: test-pod1
name: allowed-pod-with-service
namespace: default
labels:
app.kubernetes.io/name: tomcat
Expand Down
10 changes: 5 additions & 5 deletions artifacthub/library/general/requiredprobes/1.1.0/suite.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kind: Suite
apiVersion: test.gatekeeper.sh/v1alpha1
metadata:
name: containerprobes
name: requiredprobes
tests:
- name: required-probes
template: template.yaml
Expand All @@ -19,25 +19,25 @@ tests:
object: samples/must-have-probes/example_disallowed2.yaml
assertions:
- violations: yes
- name: container-probes-only-services
- name: required-probes-only-services
template: template.yaml
constraint: samples/must-have-probes-on-service/constraint.yaml
cases:
- name: example-allowed-without-service
object: samples/must-have-probes-on-service/example_allowed_without_service.yaml
inventory:
- samples/must-have-probes-on-service/inventory.yaml
- samples/must-have-probes-on-service/example_inventory.yaml
assertions:
- violations: no
- name: example-allowed-with-service
object: samples/must-have-probes-on-service/example_allowed_with_service.yaml
inventory:
- samples/must-have-probes-on-service/inventory.yaml
- samples/must-have-probes-on-service/example_inventory.yaml
assertions:
- violations: no
- name: example-disallowed-with-service
object: samples/must-have-probes-on-service/example_disallowed_with_service.yaml
inventory:
- samples/must-have-probes-on-service/inventory.yaml
- samples/must-have-probes-on-service/example_inventory.yaml
assertions:
- violations: yes
6 changes: 3 additions & 3 deletions library/general/requiredprobes/suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ tests:
- name: example-allowed-without-service
object: samples/must-have-probes-on-service/example_allowed_without_service.yaml
inventory:
- samples/must-have-probes-on-service/inventory.yaml
- samples/must-have-probes-on-service/example_inventory.yaml
assertions:
- violations: no
- name: example-allowed-with-service
object: samples/must-have-probes-on-service/example_allowed_with_service.yaml
inventory:
- samples/must-have-probes-on-service/inventory.yaml
- samples/must-have-probes-on-service/example_inventory.yaml
assertions:
- violations: no
- name: example-disallowed-with-service
object: samples/must-have-probes-on-service/example_disallowed_with_service.yaml
inventory:
- samples/must-have-probes-on-service/inventory.yaml
- samples/must-have-probes-on-service/example_inventory.yaml
assertions:
- violations: yes
8 changes: 4 additions & 4 deletions website/docs/validation/requiredprobes.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper-
</blockquote></details><details>
<summary>container-probes-only-services</summary><blockquote>
<summary>required-probes-only-services</summary><blockquote>
<details>
<summary>constraint</summary>
Expand Down Expand Up @@ -327,7 +327,7 @@ kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper-
apiVersion: v1
kind: Pod
metadata:
name: test-pod1
name: allowed-pod-without-service
namespace: default
labels:
app.kubernetes.io/name: tomcat-no-svc
Expand Down Expand Up @@ -358,7 +358,7 @@ kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper-
apiVersion: v1
kind: Pod
metadata:
name: test-pod1
name: allowed-pod-with-service
namespace: default
labels:
app.kubernetes.io/name: tomcat
Expand Down Expand Up @@ -399,7 +399,7 @@ kubectl apply -f https://raw.githubusercontent.com/open-policy-agent/gatekeeper-
apiVersion: v1
kind: Pod
metadata:
name: test-pod1
name: disallowed-pod-with-service
namespace: default
labels:
app.kubernetes.io/name: tomcat
Expand Down

0 comments on commit f7ae6f9

Please sign in to comment.