Skip to content

Commit c28c6be

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

26 files changed

Lines changed: 1562 additions & 4 deletions

apis/bases/core.openstack.org_openstackcontrolplanes.yaml

Lines changed: 227 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,33 @@ 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+
- service
59+
items:
60+
type: string
61+
minItems: 1
62+
type: array
63+
unrestricted:
64+
default: false
65+
type: boolean
66+
type: object
67+
x-kubernetes-validations:
68+
- message: gracePeriodDays must be smaller than expirationDays
69+
rule: self.gracePeriodDays < self.expirationDays
4370
barbican:
4471
properties:
4572
apiOverride:
@@ -166,6 +193,31 @@ spec:
166193
type: string
167194
type: object
168195
type: object
196+
applicationCredential:
197+
default:
198+
enabled: false
199+
nullable: true
200+
properties:
201+
enabled:
202+
default: false
203+
type: boolean
204+
expirationDays:
205+
minimum: 2
206+
type: integer
207+
gracePeriodDays:
208+
minimum: 1
209+
type: integer
210+
roles:
211+
items:
212+
type: string
213+
type: array
214+
unrestricted:
215+
type: boolean
216+
type: object
217+
x-kubernetes-validations:
218+
- message: gracePeriodDays must be smaller than expirationDays
219+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
220+
|| self.gracePeriodDays < self.expirationDays'
169221
enabled:
170222
default: true
171223
type: boolean
@@ -668,6 +720,31 @@ spec:
668720
type: string
669721
type: object
670722
type: object
723+
applicationCredential:
724+
default:
725+
enabled: false
726+
nullable: true
727+
properties:
728+
enabled:
729+
default: false
730+
type: boolean
731+
expirationDays:
732+
minimum: 2
733+
type: integer
734+
gracePeriodDays:
735+
minimum: 1
736+
type: integer
737+
roles:
738+
items:
739+
type: string
740+
type: array
741+
unrestricted:
742+
type: boolean
743+
type: object
744+
x-kubernetes-validations:
745+
- message: gracePeriodDays must be smaller than expirationDays
746+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
747+
|| self.gracePeriodDays < self.expirationDays'
671748
enabled:
672749
default: true
673750
type: boolean
@@ -3447,6 +3524,31 @@ spec:
34473524
type: object
34483525
type: object
34493526
type: object
3527+
applicationCredential:
3528+
default:
3529+
enabled: false
3530+
nullable: true
3531+
properties:
3532+
enabled:
3533+
default: false
3534+
type: boolean
3535+
expirationDays:
3536+
minimum: 2
3537+
type: integer
3538+
gracePeriodDays:
3539+
minimum: 1
3540+
type: integer
3541+
roles:
3542+
items:
3543+
type: string
3544+
type: array
3545+
unrestricted:
3546+
type: boolean
3547+
type: object
3548+
x-kubernetes-validations:
3549+
- message: gracePeriodDays must be smaller than expirationDays
3550+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
3551+
|| self.gracePeriodDays < self.expirationDays'
34503552
enabled:
34513553
default: true
34523554
type: boolean
@@ -8826,6 +8928,31 @@ spec:
88268928
type: string
88278929
type: object
88288930
type: object
8931+
applicationCredential:
8932+
default:
8933+
enabled: false
8934+
nullable: true
8935+
properties:
8936+
enabled:
8937+
default: false
8938+
type: boolean
8939+
expirationDays:
8940+
minimum: 2
8941+
type: integer
8942+
gracePeriodDays:
8943+
minimum: 1
8944+
type: integer
8945+
roles:
8946+
items:
8947+
type: string
8948+
type: array
8949+
unrestricted:
8950+
type: boolean
8951+
type: object
8952+
x-kubernetes-validations:
8953+
- message: gracePeriodDays must be smaller than expirationDays
8954+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
8955+
|| self.gracePeriodDays < self.expirationDays'
88298956
enabled:
88308957
default: true
88318958
type: boolean
@@ -9624,6 +9751,31 @@ spec:
96249751
type: string
96259752
type: object
96269753
type: object
9754+
applicationCredential:
9755+
default:
9756+
enabled: false
9757+
nullable: true
9758+
properties:
9759+
enabled:
9760+
default: false
9761+
type: boolean
9762+
expirationDays:
9763+
minimum: 2
9764+
type: integer
9765+
gracePeriodDays:
9766+
minimum: 1
9767+
type: integer
9768+
roles:
9769+
items:
9770+
type: string
9771+
type: array
9772+
unrestricted:
9773+
type: boolean
9774+
type: object
9775+
x-kubernetes-validations:
9776+
- message: gracePeriodDays must be smaller than expirationDays
9777+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
9778+
|| self.gracePeriodDays < self.expirationDays'
96279779
cellOverride:
96289780
additionalProperties:
96299781
properties:
@@ -12059,6 +12211,31 @@ spec:
1205912211
type: string
1206012212
type: object
1206112213
type: object
12214+
applicationCredential:
12215+
default:
12216+
enabled: false
12217+
nullable: true
12218+
properties:
12219+
enabled:
12220+
default: false
12221+
type: boolean
12222+
expirationDays:
12223+
minimum: 2
12224+
type: integer
12225+
gracePeriodDays:
12226+
minimum: 1
12227+
type: integer
12228+
roles:
12229+
items:
12230+
type: string
12231+
type: array
12232+
unrestricted:
12233+
type: boolean
12234+
type: object
12235+
x-kubernetes-validations:
12236+
- message: gracePeriodDays must be smaller than expirationDays
12237+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
12238+
|| self.gracePeriodDays < self.expirationDays'
1206212239
enabled:
1206312240
default: true
1206412241
type: boolean
@@ -16512,6 +16689,31 @@ spec:
1651216689
type: string
1651316690
swift:
1651416691
properties:
16692+
applicationCredential:
16693+
default:
16694+
enabled: false
16695+
nullable: true
16696+
properties:
16697+
enabled:
16698+
default: false
16699+
type: boolean
16700+
expirationDays:
16701+
minimum: 2
16702+
type: integer
16703+
gracePeriodDays:
16704+
minimum: 1
16705+
type: integer
16706+
roles:
16707+
items:
16708+
type: string
16709+
type: array
16710+
unrestricted:
16711+
type: boolean
16712+
type: object
16713+
x-kubernetes-validations:
16714+
- message: gracePeriodDays must be smaller than expirationDays
16715+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
16716+
|| self.gracePeriodDays < self.expirationDays'
1651516717
enabled:
1651616718
default: true
1651716719
type: boolean
@@ -17124,6 +17326,31 @@ spec:
1712417326
type: string
1712517327
type: object
1712617328
type: object
17329+
applicationCredential:
17330+
default:
17331+
enabled: false
17332+
nullable: true
17333+
properties:
17334+
enabled:
17335+
default: false
17336+
type: boolean
17337+
expirationDays:
17338+
minimum: 2
17339+
type: integer
17340+
gracePeriodDays:
17341+
minimum: 1
17342+
type: integer
17343+
roles:
17344+
items:
17345+
type: string
17346+
type: array
17347+
unrestricted:
17348+
type: boolean
17349+
type: object
17350+
x-kubernetes-validations:
17351+
- message: gracePeriodDays must be smaller than expirationDays
17352+
rule: '!(has(self.expirationDays) && has(self.gracePeriodDays))
17353+
|| self.gracePeriodDays < self.expirationDays'
1712717354
enabled:
1712817355
default: true
1712917356
type: boolean

0 commit comments

Comments
 (0)