Skip to content

Commit

Permalink
fix: provide correct mode name via operator-sdk annotation for oc con…
Browse files Browse the repository at this point in the history
…sole (#557)

Signed-off-by: Benedikt Bongartz <[email protected]>
  • Loading branch information
frzifus authored Aug 16, 2023
1 parent 0951f05 commit 8a3d8c0
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .chloggen/fix_unsupported_mode.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: bug_fix

# The name of the component, or a single word describing the area of concern, (e.g. operator, github action)
component: apis/tempo/v1alpha1

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: provide correct mode name via operator-sdk annotation for oc console

# One or more tracking issues related to the change
issues: [556]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:
2 changes: 1 addition & 1 deletion apis/tempo/v1alpha1/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type TenantsSpec struct {
// +required
// +kubebuilder:validation:Required
// +kubebuilder:default:=static
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:select:static","urn:alm:descriptor:com.tectonic.ui:select:dynamic"},displayName="Mode"
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:select:static","urn:alm:descriptor:com.tectonic.ui:select:openshift"},displayName="Mode"
Mode ModeType `json:"mode"`

// Authentication defines the tempo-gateway component authentication configuration spec per tenant.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ spec:
path: tenants.mode
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:select:static
- urn:alm:descriptor:com.tectonic.ui:select:dynamic
- urn:alm:descriptor:com.tectonic.ui:select:openshift
statusDescriptors:
- description: Distributor is a map to the per pod status of the distributor
deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ spec:
path: tenants.mode
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:select:static
- urn:alm:descriptor:com.tectonic.ui:select:dynamic
- urn:alm:descriptor:com.tectonic.ui:select:openshift
statusDescriptors:
- description: Distributor is a map to the per pod status of the distributor
deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ spec:
path: tenants.mode
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:select:static
- urn:alm:descriptor:com.tectonic.ui:select:dynamic
- urn:alm:descriptor:com.tectonic.ui:select:openshift
statusDescriptors:
- description: Distributor is a map to the per pod status of the distributor
deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ spec:
path: tenants.mode
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:select:static
- urn:alm:descriptor:com.tectonic.ui:select:dynamic
- urn:alm:descriptor:com.tectonic.ui:select:openshift
statusDescriptors:
- description: Distributor is a map to the per pod status of the distributor
deployment
Expand Down

0 comments on commit 8a3d8c0

Please sign in to comment.