Skip to content

Commit

Permalink
updates from make generate
Browse files Browse the repository at this point in the history
  • Loading branch information
ranakan19 committed Nov 14, 2024
1 parent 545e589 commit 8fa707d
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ spec:
autoscaler:
description: Keeps parameters concerned with the autoscaler
properties:
bufferCPU:
description: Represents how much CPU should be required by the
autoscaler buffer
type: string
bufferMemory:
description: Represents how much memory should be required by
the autoscaler buffer
Expand Down Expand Up @@ -145,29 +149,14 @@ spec:
description: Defines the timeout for each health check
type: string
type: object
webConsolePlugin:
description: WebConsolePlugin is used to configure the Web Console
Plugin parameters
properties:
deploy:
description: Deploy determines whether the plugin will be deployed
or not
type: boolean
pendoHost:
description: PendoHost allows a host URL to be configured instead
of communicating directly with the Pendo domain
type: string
pendoKey:
description: PendoKey is the key value used to interact with the
Pendo API
type: string
type: object
webhook:
description: Keeps parameters concerned with the webhook
properties:
deploy:
description: Defines the flag that determines whether to deploy
the Webhook
the Webhook. If the deploy flag is set to False and the Webhook
was deployed previously it will be deleted by the memberoperatorconfig
controller.
type: boolean
secret:
description: Defines all secrets related to webhook configuration
Expand Down
21 changes: 13 additions & 8 deletions config/crd/bases/toolchain.dev.openshift.com_memberstatuses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,21 +165,23 @@ spec:
description: HostConnection is the status of the connection with the
host cluster
properties:
apiEndpoint:
description: APIEndpoint is the API endpoint of the remote cluster.
This can be a hostname, hostname:port, IP or IP:port.
type: string
conditions:
description: Conditions is an array of current cluster conditions.
items:
description: ToolchainClusterCondition describes current state
of a cluster.
properties:
lastProbeTime:
description: Last time the condition was checked.
format: date-time
type: string
lastTransitionTime:
description: Last time the condition transit from one status
to another.
format: date-time
type: string
lastUpdatedTime:
description: Last time the condition was updated
format: date-time
type: string
message:
description: Human readable message indicating details about
last transition.
Expand All @@ -192,15 +194,18 @@ spec:
Unknown.
type: string
type:
description: Type of cluster condition, Ready or Offline.
description: Type of condition
type: string
required:
- lastProbeTime
- status
- type
type: object
type: array
x-kubernetes-list-type: atomic
operatorNamespace:
description: OperatorNamespace is the namespace in which the operator
runs in the remote cluster
type: string
required:
- conditions
type: object
Expand Down
62 changes: 62 additions & 0 deletions config/crd/bases/toolchain.dev.openshift.com_nstemplatesets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,18 @@ spec:
status:
description: NSTemplateSetStatus defines the observed state of NSTemplateSet
properties:
clusterResources:
description: The cluster resources template (for cluster-wide quotas,
etc.) that was used last time to provision the NSTemplateSet CR
properties:
templateRef:
description: TemplateRef The name of the TierTemplate resource
which exists in the host cluster and which contains the template
to use
type: string
required:
- templateRef
type: object
conditions:
description: 'Conditions is an array of current NSTemplateSet conditions
Supported condition types: ConditionReady'
Expand Down Expand Up @@ -142,6 +154,31 @@ spec:
x-kubernetes-list-map-keys:
- type
x-kubernetes-list-type: map
featureToggles:
description: FeatureToggles holds the list of feature toggles/flags
that were enabled when the NSTemplateSet CR was provisioned for
the last time
items:
type: string
type: array
x-kubernetes-list-type: atomic
namespaces:
description: The namespace templates that were used last time to provision
NSTemplateSet CR
items:
description: NSTemplateSetNamespace the namespace definition in
an NSTemplateSet resource
properties:
templateRef:
description: TemplateRef The name of the TierTemplate resource
which exists in the host cluster and which contains the template
to use
type: string
required:
- templateRef
type: object
type: array
x-kubernetes-list-type: atomic
provisionedNamespaces:
description: ProvisionedNamespaces is a list of Namespaces that were
provisioned by the NSTemplateSet.
Expand All @@ -159,6 +196,31 @@ spec:
type: object
type: array
x-kubernetes-list-type: atomic
spaceRoles:
description: The SpaceRole template and the users to whom the template
was applied for when the NSTemplateSet CR was provisioned for the
last time
items:
description: NSTemplateSetSpaceRole the role template and the users
to whom the templates should be applied to
properties:
templateRef:
description: TemplateRef The name of the TierTemplate resource
which exists in the host cluster and which contains the template
to use
type: string
usernames:
description: Usernames the usernames to which the template applies
items:
type: string
type: array
x-kubernetes-list-type: atomic
required:
- templateRef
- usernames
type: object
type: array
x-kubernetes-list-type: atomic
type: object
type: object
x-kubernetes-preserve-unknown-fields: true
Expand Down
43 changes: 15 additions & 28 deletions config/crd/bases/toolchain.dev.openshift.com_toolchainclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,9 @@ spec:
spec:
description: ToolchainClusterSpec defines the desired state of ToolchainCluster
properties:
apiEndpoint:
description: The API endpoint of the member cluster. This can be a
hostname, hostname:port, IP or IP:port.
type: string
caBundle:
description: CABundle contains the certificate authority information.
type: string
disabledTLSValidations:
description: DisabledTLSValidations defines a list of checks to ignore
when validating the TLS connection to the member cluster. This
can be any of *, SubjectName, or ValidityPeriod. If * is specified,
it is expected to be the only option in list.
items:
type: string
type: array
x-kubernetes-list-type: set
secretRef:
description: Name of the secret containing the token required to access
the member cluster. The secret needs to exist in the same namespace
as the control plane and should have a "token" key.
description: Name of the secret containing the kubeconfig required
to connect to the cluster.
properties:
name:
description: Name of a secret within the enclosing namespace
Expand All @@ -70,28 +53,29 @@ spec:
- name
type: object
required:
- apiEndpoint
- secretRef
type: object
status:
description: ToolchainClusterStatus contains information about the current
status of a cluster updated periodically by cluster controller.
properties:
apiEndpoint:
description: APIEndpoint is the API endpoint of the remote cluster.
This can be a hostname, hostname:port, IP or IP:port.
type: string
conditions:
description: Conditions is an array of current cluster conditions.
items:
description: ToolchainClusterCondition describes current state of
a cluster.
properties:
lastProbeTime:
description: Last time the condition was checked.
format: date-time
type: string
lastTransitionTime:
description: Last time the condition transit from one status
to another.
format: date-time
type: string
lastUpdatedTime:
description: Last time the condition was updated
format: date-time
type: string
message:
description: Human readable message indicating details about
last transition.
Expand All @@ -103,15 +87,18 @@ spec:
description: Status of the condition, one of True, False, Unknown.
type: string
type:
description: Type of cluster condition, Ready or Offline.
description: Type of condition
type: string
required:
- lastProbeTime
- status
- type
type: object
type: array
x-kubernetes-list-type: atomic
operatorNamespace:
description: OperatorNamespace is the namespace in which the operator
runs in the remote cluster
type: string
required:
- conditions
type: object
Expand Down

0 comments on commit 8fa707d

Please sign in to comment.