Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions api/v1/webspherelibertyapplication_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ type WebSphereLibertyApplicationAffinity struct {

// An array of architectures to be considered for deployment. Their position in the array indicates preference.
// +listType=set
// +operator-sdk:csv:customresourcedefinitions:type=spec
Architecture []string `json:"architecture,omitempty"`
}

Expand Down Expand Up @@ -434,14 +435,17 @@ type WebSphereLibertyApplicationMonitoring struct {
type WebSphereLibertyApplicationServiceability struct {
// A convenient field to request the size of the persisted storage to use for serviceability.
// +kubebuilder:validation:Pattern=^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$
// +operator-sdk:csv:customresourcedefinitions:type=spec
Size string `json:"size,omitempty"`

// The name of the PersistentVolumeClaim resource you created to be used for serviceability.
// +kubebuilder:validation:Pattern=.+
// +operator-sdk:csv:customresourcedefinitions:type=spec
VolumeClaimName string `json:"volumeClaimName,omitempty"`

// A convenient field to request the StorageClassName of the persisted storage to use for serviceability.
// +kubebuilder:validation:Pattern=.+
// +operator-sdk:csv:customresourcedefinitions:type=spec
StorageClassName string `json:"storageClassName,omitempty"`
}

Expand Down Expand Up @@ -662,33 +666,43 @@ type OAuth2Client struct {
ID string `json:"id,omitempty"`

// Specifies a token endpoint URL for the OAuth 2.0 provider. Required field.
// +operator-sdk:csv:customresourcedefinitions:type=spec
TokenEndpoint string `json:"tokenEndpoint"`

// Specifies an authorization endpoint URL for the OAuth 2.0 provider. Required field.
// +operator-sdk:csv:customresourcedefinitions:type=spec
AuthorizationEndpoint string `json:"authorizationEndpoint"`

// Specifies the name of the claim. Use its value as the user group membership
// +operator-sdk:csv:customresourcedefinitions:type=spec
GroupNameAttribute string `json:"groupNameAttribute,omitempty"`

// Specifies the name of the claim. Use its value as the authenticated user principal.
// +operator-sdk:csv:customresourcedefinitions:type=spec
UserNameAttribute string `json:"userNameAttribute,omitempty"`

// The name of the social login configuration for display.
// +operator-sdk:csv:customresourcedefinitions:type=spec
DisplayName string `json:"displayName,omitempty"`

// Specifies the name of the claim. Use its value as the subject realm.
// +operator-sdk:csv:customresourcedefinitions:type=spec
RealmNameAttribute string `json:"realmNameAttribute,omitempty"`

// Specifies the realm name for this social media.
// +operator-sdk:csv:customresourcedefinitions:type=spec
RealmName string `json:"realmName,omitempty"`

// Specifies one or more scopes to request.
// +operator-sdk:csv:customresourcedefinitions:type=spec
Scope string `json:"scope,omitempty"`

// Specifies the required authentication method.
// +operator-sdk:csv:customresourcedefinitions:type=spec
TokenEndpointAuthMethod string `json:"tokenEndpointAuthMethod,omitempty"`

// Name of the header to use when an OAuth access token is forwarded.
// +operator-sdk:csv:customresourcedefinitions:type=spec
AccessTokenHeaderName string `json:"accessTokenHeaderName,omitempty"`

// Determines whether the access token that is provided in the request is used for authentication.
Expand All @@ -711,6 +725,7 @@ type OAuth2Client struct {
// Represents configuration for social login using GitHub.
type GithubLogin struct {
// Specifies the host name of your enterprise GitHub.
// +operator-sdk:csv:customresourcedefinitions:type=spec
Hostname string `json:"hostname,omitempty"`
}

Expand Down
2 changes: 2 additions & 0 deletions api/v1/webspherelibertydump_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ type WebSphereLibertyDumpSpec struct {
License LicenseSimple `json:"license"`

// The name of the Pod, which must be in the same namespace as the WebSphereLibertyDump CR.
// +operator-sdk:csv:customresourcedefinitions:type=spec
PodName string `json:"podName"`
// Optional. List of memory dump types to request: thread, heap, system.
// +listType=set
// +operator-sdk:csv:customresourcedefinitions:type=spec
Include []WebSphereLibertyDumpInclude `json:"include,omitempty"`
}

Expand Down
5 changes: 5 additions & 0 deletions api/v1/webspherelibertytrace_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,23 @@ type WebSphereLibertyTraceSpec struct {
License LicenseSimple `json:"license"`

// The name of the Pod, which must be in the same namespace as the WebSphereLibertyTrace CR.
// +operator-sdk:csv:customresourcedefinitions:type=spec
PodName string `json:"podName"`

// The trace string to be used to selectively enable trace. The default is *=info.
// +operator-sdk:csv:customresourcedefinitions:type=spec
TraceSpecification string `json:"traceSpecification"`

// The maximum size (in MB) that a log file can reach before it is rolled. To disable this attribute, set the value to 0.
// +operator-sdk:csv:customresourcedefinitions:type=spec
MaxFileSize *int32 `json:"maxFileSize,omitempty"`

// If an enforced maximum file size exists, this setting is used to determine how many of each of the logs files are kept.
// +operator-sdk:csv:customresourcedefinitions:type=spec
MaxFiles *int32 `json:"maxFiles,omitempty"`

// Set to true to stop tracing.
// +operator-sdk:csv:customresourcedefinitions:type=spec
Disable *bool `json:"disable,omitempty"`
}

Expand Down
Loading