Skip to content

Commit

Permalink
#4 add examples for blueprint-crs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-dammeier committed Dec 14, 2023
1 parent 2932023 commit ab91aed
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions samples/k8s_v1_dynamically_invalid_blueprint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: k8s.cloudogu.com/v1
kind: Blueprint
metadata:
labels:
app.kubernetes.io/name: blueprint
app.kubernetes.io/instance: blueprint-sample
app.kubernetes.io/part-of: k8s-blueprint-operator
app.kubernetes.io/created-by: k8s-blueprint-operator
name: dynamically-invalid-blueprint-sample
spec:
blueprint: |
{"blueprintApi":"v2","dogus":[{"name":"unknown/smeagol","version":"1.2.0-1","targetState":"present"}]}
blueprintMask: |
{"blueprintMaskApi":"v1"}
ignoreDoguHealth: false
allowDoguNamespaceSwitch: false
16 changes: 16 additions & 0 deletions samples/k8s_v1_statically_invalid_blueprint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: k8s.cloudogu.com/v1
kind: Blueprint
metadata:
labels:
app.kubernetes.io/name: blueprint
app.kubernetes.io/instance: blueprint-sample
app.kubernetes.io/part-of: k8s-blueprint-operator
app.kubernetes.io/created-by: k8s-blueprint-operator
name: statically-invalid-blueprint-sample
spec:
blueprint: |
{"blueprintApi":"v2","dogus":[{"name":"official/nginx","version":"1.2.0-1","targetState":"present"}]}
blueprintMask: |
{"blueprintMaskApi":"v1", "dogus":[{"name":"official/smeagol","version":"1.2.0-1","targetState":"present"}]}
ignoreDoguHealth: false
allowDoguNamespaceSwitch: false

0 comments on commit ab91aed

Please sign in to comment.