Skip to content

Commit 99391d1

Browse files
committed
AppCred support
Signed-off-by: Veronika Fisarova <vfisarov@redhat.com>
1 parent 19929e1 commit 99391d1

17 files changed

Lines changed: 1422 additions & 4 deletions

apis/bases/core.openstack.org_openstackcontrolplanes.yaml

Lines changed: 228 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,34 @@ spec:
4040
type: object
4141
spec:
4242
properties:
43+
applicationCredential:
44+
properties:
45+
enabled:
46+
default: false
47+
type: boolean
48+
expirationDays:
49+
default: 365
50+
minimum: 2
51+
type: integer
52+
gracePeriodDays:
53+
default: 182
54+
minimum: 1
55+
type: integer
56+
roles:
57+
default:
58+
- admin
59+
- service
60+
items:
61+
type: string
62+
minItems: 1
63+
type: array
64+
unrestricted:
65+
default: false
66+
type: boolean
67+
type: object
68+
x-kubernetes-validations:
69+
- message: gracePeriodDays must be smaller than expirationDays
70+
rule: self.gracePeriodDays < self.expirationDays
4371
barbican:
4472
properties:
4573
apiOverride:
@@ -166,6 +194,31 @@ spec:
166194
type: string
167195
type: object
168196
type: object
197+
applicationCredential:
198+
default:
199+
enabled: false
200+
nullable: true
201+
properties:
202+
enabled:
203+
default: false
204+
type: boolean
205+
expirationDays:
206+
minimum: 2
207+
type: integer
208+
gracePeriodDays:
209+
minimum: 1
210+
type: integer
211+
roles:
212+
items:
213+
type: string
214+
type: array
215+
unrestricted:
216+
type: boolean
217+
type: object
218+
x-kubernetes-validations:
219+
- message: gracePeriodDays must be smaller than expirationDays
220+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
221+
|| self.gracePeriodDays < self.expirationDays'
169222
enabled:
170223
default: true
171224
type: boolean
@@ -668,6 +721,31 @@ spec:
668721
type: string
669722
type: object
670723
type: object
724+
applicationCredential:
725+
default:
726+
enabled: false
727+
nullable: true
728+
properties:
729+
enabled:
730+
default: false
731+
type: boolean
732+
expirationDays:
733+
minimum: 2
734+
type: integer
735+
gracePeriodDays:
736+
minimum: 1
737+
type: integer
738+
roles:
739+
items:
740+
type: string
741+
type: array
742+
unrestricted:
743+
type: boolean
744+
type: object
745+
x-kubernetes-validations:
746+
- message: gracePeriodDays must be smaller than expirationDays
747+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
748+
|| self.gracePeriodDays < self.expirationDays'
671749
enabled:
672750
default: true
673751
type: boolean
@@ -3447,6 +3525,31 @@ spec:
34473525
type: object
34483526
type: object
34493527
type: object
3528+
applicationCredential:
3529+
default:
3530+
enabled: false
3531+
nullable: true
3532+
properties:
3533+
enabled:
3534+
default: false
3535+
type: boolean
3536+
expirationDays:
3537+
minimum: 2
3538+
type: integer
3539+
gracePeriodDays:
3540+
minimum: 1
3541+
type: integer
3542+
roles:
3543+
items:
3544+
type: string
3545+
type: array
3546+
unrestricted:
3547+
type: boolean
3548+
type: object
3549+
x-kubernetes-validations:
3550+
- message: gracePeriodDays must be smaller than expirationDays
3551+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
3552+
|| self.gracePeriodDays < self.expirationDays'
34503553
enabled:
34513554
default: true
34523555
type: boolean
@@ -8826,6 +8929,31 @@ spec:
88268929
type: string
88278930
type: object
88288931
type: object
8932+
applicationCredential:
8933+
default:
8934+
enabled: false
8935+
nullable: true
8936+
properties:
8937+
enabled:
8938+
default: false
8939+
type: boolean
8940+
expirationDays:
8941+
minimum: 2
8942+
type: integer
8943+
gracePeriodDays:
8944+
minimum: 1
8945+
type: integer
8946+
roles:
8947+
items:
8948+
type: string
8949+
type: array
8950+
unrestricted:
8951+
type: boolean
8952+
type: object
8953+
x-kubernetes-validations:
8954+
- message: gracePeriodDays must be smaller than expirationDays
8955+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
8956+
|| self.gracePeriodDays < self.expirationDays'
88298957
enabled:
88308958
default: true
88318959
type: boolean
@@ -9624,6 +9752,31 @@ spec:
96249752
type: string
96259753
type: object
96269754
type: object
9755+
applicationCredential:
9756+
default:
9757+
enabled: false
9758+
nullable: true
9759+
properties:
9760+
enabled:
9761+
default: false
9762+
type: boolean
9763+
expirationDays:
9764+
minimum: 2
9765+
type: integer
9766+
gracePeriodDays:
9767+
minimum: 1
9768+
type: integer
9769+
roles:
9770+
items:
9771+
type: string
9772+
type: array
9773+
unrestricted:
9774+
type: boolean
9775+
type: object
9776+
x-kubernetes-validations:
9777+
- message: gracePeriodDays must be smaller than expirationDays
9778+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
9779+
|| self.gracePeriodDays < self.expirationDays'
96279780
cellOverride:
96289781
additionalProperties:
96299782
properties:
@@ -12059,6 +12212,31 @@ spec:
1205912212
type: string
1206012213
type: object
1206112214
type: object
12215+
applicationCredential:
12216+
default:
12217+
enabled: false
12218+
nullable: true
12219+
properties:
12220+
enabled:
12221+
default: false
12222+
type: boolean
12223+
expirationDays:
12224+
minimum: 2
12225+
type: integer
12226+
gracePeriodDays:
12227+
minimum: 1
12228+
type: integer
12229+
roles:
12230+
items:
12231+
type: string
12232+
type: array
12233+
unrestricted:
12234+
type: boolean
12235+
type: object
12236+
x-kubernetes-validations:
12237+
- message: gracePeriodDays must be smaller than expirationDays
12238+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
12239+
|| self.gracePeriodDays < self.expirationDays'
1206212240
enabled:
1206312241
default: true
1206412242
type: boolean
@@ -16512,6 +16690,31 @@ spec:
1651216690
type: string
1651316691
swift:
1651416692
properties:
16693+
applicationCredential:
16694+
default:
16695+
enabled: false
16696+
nullable: true
16697+
properties:
16698+
enabled:
16699+
default: false
16700+
type: boolean
16701+
expirationDays:
16702+
minimum: 2
16703+
type: integer
16704+
gracePeriodDays:
16705+
minimum: 1
16706+
type: integer
16707+
roles:
16708+
items:
16709+
type: string
16710+
type: array
16711+
unrestricted:
16712+
type: boolean
16713+
type: object
16714+
x-kubernetes-validations:
16715+
- message: gracePeriodDays must be smaller than expirationDays
16716+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
16717+
|| self.gracePeriodDays < self.expirationDays'
1651516718
enabled:
1651616719
default: true
1651716720
type: boolean
@@ -17124,6 +17327,31 @@ spec:
1712417327
type: string
1712517328
type: object
1712617329
type: object
17330+
applicationCredential:
17331+
default:
17332+
enabled: false
17333+
nullable: true
17334+
properties:
17335+
enabled:
17336+
default: false
17337+
type: boolean
17338+
expirationDays:
17339+
minimum: 2
17340+
type: integer
17341+
gracePeriodDays:
17342+
minimum: 1
17343+
type: integer
17344+
roles:
17345+
items:
17346+
type: string
17347+
type: array
17348+
unrestricted:
17349+
type: boolean
17350+
type: object
17351+
x-kubernetes-validations:
17352+
- message: gracePeriodDays must be smaller than expirationDays
17353+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
17354+
|| self.gracePeriodDays < self.expirationDays'
1712717355
enabled:
1712817356
default: true
1712917357
type: boolean

0 commit comments

Comments
 (0)