Skip to content

Commit b583622

Browse files
fix: generate venafi-connection-crd
1 parent dd12f5c commit b583622

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

deploy/charts/venafi-kubernetes-agent/templates/venafi-connection-crd.yaml

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ spec:
146146
/v1/auth/oidc/login
147147
type: string
148148
clientId:
149-
description: 'Deprecated: This field does nothing and will be removed in the future.'
149+
description: "Deprecated: This field does nothing and will be removed in the future."
150150
type: string
151151
role:
152152
description: |-
@@ -284,7 +284,7 @@ spec:
284284
type: object
285285
x-kubernetes-validations:
286286
- message: must have exactly one field set
287-
rule: '((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1'
287+
rule: "((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1"
288288
maxItems: 50
289289
type: array
290290
x-kubernetes-list-type: atomic
@@ -339,7 +339,7 @@ spec:
339339
/v1/auth/oidc/login
340340
type: string
341341
clientId:
342-
description: 'Deprecated: This field does nothing and will be removed in the future.'
342+
description: "Deprecated: This field does nothing and will be removed in the future."
343343
type: string
344344
role:
345345
description: |-
@@ -477,7 +477,7 @@ spec:
477477
type: object
478478
x-kubernetes-validations:
479479
- message: must have exactly one field set
480-
rule: '((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1'
480+
rule: "((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1"
481481
maxItems: 50
482482
type: array
483483
x-kubernetes-list-type: atomic
@@ -492,7 +492,7 @@ spec:
492492
- url
493493
type: object
494494
vaas:
495-
description: 'Deprecated: The ''vaas'' field is deprecated use the field called ''vcp'' instead.'
495+
description: "Deprecated: The 'vaas' field is deprecated use the field called 'vcp' instead."
496496
properties:
497497
accessToken:
498498
description: |-
@@ -539,7 +539,7 @@ spec:
539539
/v1/auth/oidc/login
540540
type: string
541541
clientId:
542-
description: 'Deprecated: This field does nothing and will be removed in the future.'
542+
description: "Deprecated: This field does nothing and will be removed in the future."
543543
type: string
544544
role:
545545
description: |-
@@ -677,7 +677,7 @@ spec:
677677
type: object
678678
x-kubernetes-validations:
679679
- message: must have exactly one field set
680-
rule: '((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1'
680+
rule: "((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1"
681681
maxItems: 50
682682
type: array
683683
x-kubernetes-list-type: atomic
@@ -726,7 +726,7 @@ spec:
726726
/v1/auth/oidc/login
727727
type: string
728728
clientId:
729-
description: 'Deprecated: This field does nothing and will be removed in the future.'
729+
description: "Deprecated: This field does nothing and will be removed in the future."
730730
type: string
731731
role:
732732
description: |-
@@ -864,7 +864,7 @@ spec:
864864
type: object
865865
x-kubernetes-validations:
866866
- message: must have exactly one field set
867-
rule: '((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1'
867+
rule: "((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1"
868868
maxItems: 50
869869
type: array
870870
x-kubernetes-list-type: atomic
@@ -875,8 +875,8 @@ spec:
875875
type: string
876876
type: object
877877
x-kubernetes-validations:
878-
- message: 'must have exactly ONE of the following fields set: apiKey or accessToken'
879-
rule: '(has(self.apiKey) ? 1 : 0) + (has(self.accessToken) ? 1 : 0) == 1'
878+
- message: "must have exactly ONE of the following fields set: apiKey or accessToken"
879+
rule: "(has(self.apiKey) ? 1 : 0) + (has(self.accessToken) ? 1 : 0) == 1"
880880
vcp:
881881
properties:
882882
accessToken:
@@ -924,7 +924,7 @@ spec:
924924
/v1/auth/oidc/login
925925
type: string
926926
clientId:
927-
description: 'Deprecated: This field does nothing and will be removed in the future.'
927+
description: "Deprecated: This field does nothing and will be removed in the future."
928928
type: string
929929
role:
930930
description: |-
@@ -1062,7 +1062,7 @@ spec:
10621062
type: object
10631063
x-kubernetes-validations:
10641064
- message: must have exactly one field set
1065-
rule: '((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1'
1065+
rule: "((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1"
10661066
maxItems: 50
10671067
type: array
10681068
x-kubernetes-list-type: atomic
@@ -1111,7 +1111,7 @@ spec:
11111111
/v1/auth/oidc/login
11121112
type: string
11131113
clientId:
1114-
description: 'Deprecated: This field does nothing and will be removed in the future.'
1114+
description: "Deprecated: This field does nothing and will be removed in the future."
11151115
type: string
11161116
role:
11171117
description: |-
@@ -1249,7 +1249,7 @@ spec:
12491249
type: object
12501250
x-kubernetes-validations:
12511251
- message: must have exactly one field set
1252-
rule: '((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1'
1252+
rule: "((has(self.secret) ? 1 : 0) + (has(self.serviceAccountToken) ? 1 : 0) + (has(self.hashicorpVaultOAuth) ? 1 : 0) + (has(self.hashicorpVaultSecret) ? 1 : 0) + (has(self.hashicorpVaultLDAP) ? 1 : 0) + (has(self.tppOAuth) ? 1 : 0) + (has(self.vcpOAuth) ? 1 : 0)) == 1"
12531253
maxItems: 50
12541254
type: array
12551255
x-kubernetes-list-type: atomic
@@ -1260,12 +1260,12 @@ spec:
12601260
type: string
12611261
type: object
12621262
x-kubernetes-validations:
1263-
- message: 'must have exactly ONE of the following fields set: apiKey or accessToken'
1264-
rule: '(has(self.apiKey) ? 1 : 0) + (has(self.accessToken) ? 1 : 0) == 1'
1263+
- message: "must have exactly ONE of the following fields set: apiKey or accessToken"
1264+
rule: "(has(self.apiKey) ? 1 : 0) + (has(self.accessToken) ? 1 : 0) == 1"
12651265
type: object
12661266
x-kubernetes-validations:
1267-
- message: 'must have exactly ONE of the following fields set: tpp or vcp'
1268-
rule: '(has(self.tpp) ? 1 : 0) + (has(self.vaas) ? 1 : 0) + (has(self.vcp) ? 1 : 0) + (has(self.firefly) ? 1 : 0) == 1'
1267+
- message: "must have exactly ONE of the following fields set: tpp or vcp"
1268+
rule: "(has(self.tpp) ? 1 : 0) + (has(self.vaas) ? 1 : 0) + (has(self.vcp) ? 1 : 0) + (has(self.firefly) ? 1 : 0) == 1"
12691269
status:
12701270
properties:
12711271
conditions:
@@ -1333,4 +1333,3 @@ spec:
13331333
status: {}
13341334
{{ end }}
13351335
{{ end }}
1336-

0 commit comments

Comments
 (0)