Skip to content

Commit 06330cf

Browse files
committed
fix: example was wrong due to missing porting of NamespaceOptions
1 parent 1ec9936 commit 06330cf

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

config/samples/capsule_v1beta1_tenant.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ spec:
1818
allowedRegex: ^\w+.gcr.io$
1919
serviceOptions:
2020
additionalMetadata:
21-
additionalAnnotations:
21+
annotations:
2222
capsule.clastix.io/bgp: "true"
23-
additionalLabels:
23+
labels:
2424
capsule.clastix.io/pool: gas
2525
allowedServices:
2626
nodePort: false
@@ -73,12 +73,13 @@ spec:
7373
min:
7474
storage: 1Gi
7575
type: PersistentVolumeClaim
76-
namespaceQuota: 3
77-
namespacesMetadata:
78-
additionalAnnotations:
79-
capsule.clastix.io/backup: "false"
80-
additionalLabels:
81-
capsule.clastix.io/tenant: gas
76+
namespaceOptions:
77+
quota: 3
78+
additionalMetadata:
79+
annotations:
80+
capsule.clastix.io/backup: "false"
81+
labels:
82+
capsule.clastix.io/tenant: gas
8283
networkPolicies:
8384
items:
8485
-

0 commit comments

Comments
 (0)