Skip to content

feat: add new registration-service config param for ui canary deployement #1172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
May 6, 2025
Merged
Show file tree
Hide file tree
Changes from 32 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
8d24435
remove spacebinding request migration controller
mfrancisc Dec 7, 2023
a25fb02
Merge branch 'master' of github.com:mfrancisc/host-operator
mfrancisc Jan 2, 2024
fd840c6
Merge branch 'master' of github.com:mfrancisc/host-operator
mfrancisc Feb 7, 2024
0221d40
Merge branch 'master' of github.com:mfrancisc/host-operator
mfrancisc Feb 14, 2024
0f4717d
Merge branch 'master' of github.com:mfrancisc/host-operator
mfrancisc Feb 19, 2024
0977ae6
Merge branch 'master' of github.com:mfrancisc/host-operator
mfrancisc Mar 26, 2024
7aa35c5
Merge branch 'master' of github.com:mfrancisc/host-operator
mfrancisc Apr 3, 2024
d09f3b8
Merge branch 'master' of github.com:mfrancisc/host-operator
mfrancisc Apr 4, 2024
79c20ca
Merge branch 'master' of github.com:mfrancisc/host-operator
mfrancisc Apr 25, 2024
b21f39f
Merge branch 'master' of github.com:mfrancisc/host-operator
mfrancisc May 27, 2024
b0aea00
Merge branch 'master' of github.com:mfrancisc/host-operator
mfrancisc May 31, 2024
e9e35bc
Merge branch 'master' of github.com:mfrancisc/host-operator
mfrancisc Jul 29, 2024
969562e
Merge branch 'master' of github.com:mfrancisc/host-operator
Aug 28, 2024
344bc04
Merge branch 'master' of github.com:mfrancisc/host-operator
Sep 12, 2024
ea71877
Merge branch 'master' of github.com:mfrancisc/host-operator
Sep 23, 2024
ef294f7
Merge branch 'master' of github.com:mfrancisc/host-operator
Sep 27, 2024
1f8d51d
Merge branch 'master' of github.com:mfrancisc/host-operator
Oct 31, 2024
b27cde7
Merge branch 'master' of github.com:mfrancisc/host-operator
Nov 6, 2024
bbb2689
Merge branch 'master' of github.com:mfrancisc/host-operator
Nov 18, 2024
ec51de9
Merge branch 'master' of github.com:mfrancisc/host-operator
Nov 28, 2024
cc3a260
Merge branch 'master' of github.com:mfrancisc/host-operator
Dec 16, 2024
14b1b26
Merge branch 'master' of github.com:mfrancisc/host-operator
Jan 7, 2025
28b6608
Merge branch 'master' of github.com:mfrancisc/host-operator
Jan 9, 2025
d844c83
Merge branch 'master' of github.com:mfrancisc/host-operator
Jan 16, 2025
a08f667
Merge branch 'master' of github.com:mfrancisc/host-operator
Jan 17, 2025
553b7fe
Merge branch 'master' of github.com:mfrancisc/host-operator
Jan 23, 2025
4e38ce0
Merge branch 'master' of github.com:mfrancisc/host-operator
Feb 10, 2025
094954e
Merge branch 'master' of github.com:mfrancisc/host-operator
Feb 25, 2025
66d81bd
Merge branch 'master' of github.com:mfrancisc/host-operator
Feb 27, 2025
79863da
Merge branch 'master' of github.com:mfrancisc/host-operator
Mar 4, 2025
7447d68
add new ui config
May 5, 2025
c7df704
switch to in
May 5, 2025
0f25330
Merge branch 'master' into uicanary
mfrancisc May 5, 2025
7ca06c4
Merge branch 'master' into uicanary
mfrancisc May 6, 2025
a2fe2d4
update
May 6, 2025
02824c1
Empty-Commit
May 6, 2025
d3cd019
Merge branch 'master' into uicanary
mfrancisc May 6, 2025
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
19 changes: 12 additions & 7 deletions config/crd/bases/toolchain.dev.openshift.com_bannedusers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
controller-gen.kubebuilder.io/version: v0.15.0
name: bannedusers.toolchain.dev.openshift.com
spec:
group: toolchain.dev.openshift.com
Expand All @@ -24,14 +24,19 @@ spec:
description: BannedUser is used to maintain a list of banned e-mail addresses
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand Down
57 changes: 32 additions & 25 deletions config/crd/bases/toolchain.dev.openshift.com_masteruserrecords.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
controller-gen.kubebuilder.io/version: v0.15.0
name: masteruserrecords.toolchain.dev.openshift.com
spec:
group: toolchain.dev.openshift.com
Expand Down Expand Up @@ -44,29 +44,34 @@ spec:
and namespaces provisioned in CodeReady Toolchain
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: MasterUserRecordSpec defines the desired state of MasterUserRecord
properties:
disabled:
description: If set to true then the corresponding user should not
be able to login (but the underlying UserAccounts still exists)
description: |-
If set to true then the corresponding user should not be able to login (but the underlying UserAccounts still exists)
"false" is assumed by default
type: boolean
propagatedClaims:
description: PropagatedClaims contains a selection of claim values
from the SSO Identity Provider which are intended to be "propagated"
down the resource dependency chain
description: |-
PropagatedClaims contains a selection of claim values from the SSO Identity Provider which are intended to
be "propagated" down the resource dependency chain
properties:
accountID:
description: AccountID contains the value of the 'account_id'
Expand All @@ -76,9 +81,9 @@ spec:
description: Email contains the user's email address
type: string
originalSub:
description: OriginalSub is an optional property temporarily introduced
for the purpose of migrating the users to a new IdP provider
client, and contains the user's "original-sub" claim
description: |-
OriginalSub is an optional property temporarily introduced for the purpose of migrating the users to
a new IdP provider client, and contains the user's "original-sub" claim
type: string
sub:
description: Sub contains the value of the 'sub' claim
Expand All @@ -91,11 +96,11 @@ spec:
- sub
type: object
tierName:
description: TierName is an optional property introduced to retain
the name of the tier for which the Dev Sandbox user is provisioned,
so we can still deal with deactivation once the NSTemplateSet field
has been removed from `[]spec.UserAccounts` temporarily marked as
optional until the migration took place (CRT-1321)
description: |-
TierName is an optional property introduced to retain the name of the tier
for which the Dev Sandbox user is provisioned, so we can still deal with deactivation
once the NSTemplateSet field has been removed from `[]spec.UserAccounts`
temporarily marked as optional until the migration took place (CRT-1321)
type: string
userAccounts:
description: The list of user accounts in the member clusters which
Expand All @@ -117,9 +122,10 @@ spec:
description: MasterUserRecordStatus defines the observed state of MasterUserRecord
properties:
conditions:
description: 'Conditions is an array of current Master User Record
conditions Supported condition types: Provisioning, UserAccountNotReady
and Ready'
description: |-
Conditions is an array of current Master User Record conditions
Supported condition types:
Provisioning, UserAccountNotReady and Ready
items:
properties:
lastTransitionTime:
Expand Down Expand Up @@ -172,8 +178,9 @@ spec:
- name
type: object
conditions:
description: 'Conditions is an array of current User Account
conditions Supported condition types: ConditionReady'
description: |-
Conditions is an array of current User Account conditions
Supported condition types: ConditionReady
items:
properties:
lastTransitionTime:
Expand Down
62 changes: 34 additions & 28 deletions config/crd/bases/toolchain.dev.openshift.com_notifications.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
controller-gen.kubebuilder.io/version: v0.15.0
name: notifications.toolchain.dev.openshift.com
spec:
group: toolchain.dev.openshift.com
Expand All @@ -28,62 +28,68 @@ spec:
description: Notification registers a notification in the CodeReady Toolchain
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: NotificationSpec defines the desired state of Notification
properties:
content:
description: Content is used when no template value is specified,
in cases where the complete notification content is specified at
notification creation time
description: |-
Content is used when no template value is specified, in cases where the complete notification content is
specified at notification creation time
type: string
context:
additionalProperties:
type: string
description: Context is used to set a number of arbitrary values to
be passed to the notification content text formatter, for inclusion
in the body of the notification.
description: |-
Context is used to set a number of arbitrary values to be passed to the notification content text formatter,
for inclusion in the body of the notification.
type: object
recipient:
description: Recipient is used to specify the email address where
the notification will be delivered. It must comply with section
3.4.1 of RFC2822, and should be formatted to include the user's
first and last names, e.g. "John Smith <jsmith@example.com>"
description: |-
Recipient is used to specify the email address where the notification will be delivered. It must comply with
section 3.4.1 of RFC2822, and should be formatted to include the user's first and last names,
e.g. "John Smith <jsmith@example.com>"
type: string
subject:
description: Subject is used when no template value is specified,
in cases where the complete notification subject is specified at
notification creation time
description: |-
Subject is used when no template value is specified, in cases where the complete notification subject is
specified at notification creation time
type: string
template:
description: Template is the name of the NotificationTemplate resource
that will be used to generate the notification
type: string
userID:
description: 'UserID is the user ID from RHD Identity Provider token
(“sub” claim). The UserID is used by the notification service (i.e.
the NotificationController) to lookup the UserSignup resource for
the user, and extract from it the values required to generate the
notification content and to deliver the notification Deprecated:
replaced by Context'
description: |-
UserID is the user ID from RHD Identity Provider token (“sub” claim). The UserID is used by
the notification service (i.e. the NotificationController) to lookup the UserSignup resource for the user,
and extract from it the values required to generate the notification content and to deliver the notification
Deprecated: replaced by Context
type: string
type: object
status:
description: NotificationStatus defines the observed state of Notification
properties:
conditions:
description: 'Conditions is an array of current Notification conditions
Supported condition types: Sent'
description: |-
Conditions is an array of current Notification conditions
Supported condition types:
Sent
items:
properties:
lastTransitionTime:
Expand Down
54 changes: 30 additions & 24 deletions config/crd/bases/toolchain.dev.openshift.com_nstemplatetiers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.12.0
controller-gen.kubebuilder.io/version: v0.15.0
name: nstemplatetiers.toolchain.dev.openshift.com
spec:
group: toolchain.dev.openshift.com
Expand All @@ -23,14 +23,19 @@ spec:
for namespaces the user has access to
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand Down Expand Up @@ -70,16 +75,19 @@ spec:
to replace "global" variables defined in the TierTemplate CRs of
the NSTemplateTier.
items:
description: Parameter defines a name/value variable that is to
be processed during TierTemplate creation.
description: |-
Parameter defines a name/value variable that is to be processed during
TierTemplate creation.
properties:
name:
description: Name must be set and it can be referenced in the
TierTemplate content using {{.NAME}}
description: |-
Name must be set and it can be referenced in the TierTemplate
content using {{.NAME}}
type: string
value:
description: Value holds the Parameter data. The value replaces
all occurrences of the Parameter {{.NAME}}.
description: |-
Value holds the Parameter data.
The value replaces all occurrences of the Parameter {{.NAME}}.
type: string
required:
- name
Expand Down Expand Up @@ -121,8 +129,9 @@ spec:
description: NSTemplateTierStatus defines the observed state of NSTemplateTier
properties:
conditions:
description: 'Conditions is an array of current NSTemplateTier conditions
Supported condition types: ConditionReady'
description: |-
Conditions is an array of current NSTemplateTier conditions
Supported condition types: ConditionReady
items:
properties:
lastTransitionTime:
Expand Down Expand Up @@ -158,15 +167,12 @@ spec:
revisions:
additionalProperties:
type: string
description: Revisions is a map of TierTemplate CR names (as the keys)
and TierTemplateRevision CR names (as the values) The map represents
the current content of the TierTemplate CRs combined with the parameters
defined in the tier. Each of the referenced TierTemplateRevision
CRs represents the content of the associated TierTemplate CR processed
with the parameters. If the content of the already referenced TierTemplateRevision
CR doesn't match the expected outcome of the processed TierTemplate
CR, then a new TierTemplateRevision CR is created and the name here
is updated.
description: |-
Revisions is a map of TierTemplate CR names (as the keys) and TierTemplateRevision CR names (as the values)
The map represents the current content of the TierTemplate CRs combined with the parameters defined in the tier.
Each of the referenced TierTemplateRevision CRs represents the content of the associated TierTemplate CR processed with the parameters.
If the content of the already referenced TierTemplateRevision CR doesn't match the expected outcome of the processed TierTemplate CR,
then a new TierTemplateRevision CR is created and the name here is updated.
type: object
x-kubernetes-map-type: atomic
type: object
Expand Down
Loading
Loading