Skip to content

Commit

Permalink
Only create jspolicy if operator is installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamDumpleton committed Sep 24, 2023
1 parent a03a32d commit d9fe6e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/developer-namespace/09-jspolicies.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#@ load("@ytt:data", "data")

#@ if data.values.policy == "jspolicy":
---
apiVersion: policy.jspolicy.com/v1beta1
kind: JsPolicy
Expand All @@ -17,3 +19,4 @@ spec:
deny("Ingress host name must embed the workshop session name.");
}
})
#@ end

0 comments on commit d9fe6e1

Please sign in to comment.