@@ -173,6 +173,7 @@ type OpenLibertyApplicationAffinity struct {
173
173
174
174
// An array of architectures to be considered for deployment. Their position in the array indicates preference.
175
175
// +listType=set
176
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
176
177
Architecture []string `json:"architecture,omitempty"`
177
178
}
178
179
@@ -269,6 +270,7 @@ type OpenLibertyApplicationDeployment struct {
269
270
UpdateStrategy * appsv1.DeploymentStrategy `json:"updateStrategy,omitempty"`
270
271
271
272
// Annotations to be added only to the Deployment and resources owned by the Deployment
273
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
272
274
Annotations map [string ]string `json:"annotations,omitempty"`
273
275
}
274
276
@@ -322,14 +324,17 @@ type OpenLibertyApplicationMonitoring struct {
322
324
type OpenLibertyApplicationServiceability struct {
323
325
// A convenient field to request the size of the persisted storage to use for serviceability.
324
326
// +kubebuilder:validation:Pattern=^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
327
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
325
328
Size string `json:"size,omitempty"`
326
329
327
330
// The name of the PersistentVolumeClaim resource you created to be used for serviceability.
328
331
// +kubebuilder:validation:Pattern=.+
332
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
329
333
VolumeClaimName string `json:"volumeClaimName,omitempty"`
330
334
331
335
// A convenient field to request the StorageClassName of the persisted storage to use for serviceability.
332
336
// +kubebuilder:validation:Pattern=.+
337
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
333
338
StorageClassName string `json:"storageClassName,omitempty"`
334
339
}
335
340
@@ -551,33 +556,43 @@ type OAuth2Client struct {
551
556
ID string `json:"id,omitempty"`
552
557
553
558
// Specifies a token endpoint URL for the OAuth 2.0 provider. Required field.
559
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
554
560
TokenEndpoint string `json:"tokenEndpoint"`
555
561
556
562
// Specifies an authorization endpoint URL for the OAuth 2.0 provider. Required field.
563
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
557
564
AuthorizationEndpoint string `json:"authorizationEndpoint"`
558
565
559
566
// Specifies the name of the claim. Use its value as the user group membership
567
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
560
568
GroupNameAttribute string `json:"groupNameAttribute,omitempty"`
561
569
562
570
// Specifies the name of the claim. Use its value as the authenticated user principal.
571
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
563
572
UserNameAttribute string `json:"userNameAttribute,omitempty"`
564
573
565
574
// The name of the social login configuration for display.
575
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
566
576
DisplayName string `json:"displayName,omitempty"`
567
577
568
578
// Specifies the name of the claim. Use its value as the subject realm.
579
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
569
580
RealmNameAttribute string `json:"realmNameAttribute,omitempty"`
570
581
571
582
// Specifies the realm name for this social media.
583
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
572
584
RealmName string `json:"realmName,omitempty"`
573
585
574
586
// Specifies one or more scopes to request.
587
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
575
588
Scope string `json:"scope,omitempty"`
576
589
577
590
// Specifies the required authentication method.
591
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
578
592
TokenEndpointAuthMethod string `json:"tokenEndpointAuthMethod,omitempty"`
579
593
580
594
// Name of the header to use when an OAuth access token is forwarded.
595
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
581
596
AccessTokenHeaderName string `json:"accessTokenHeaderName,omitempty"`
582
597
583
598
// Determines whether the access token that is provided in the request is used for authentication.
@@ -600,6 +615,7 @@ type OAuth2Client struct {
600
615
// Represents configuration for social login using GitHub.
601
616
type GithubLogin struct {
602
617
// Specifies the host name of your enterprise GitHub.
618
+ // +operator-sdk:csv:customresourcedefinitions:type=spec
603
619
Hostname string `json:"hostname,omitempty"`
604
620
}
605
621
0 commit comments