Skip to content

Commit

Permalink
fix: Use correct operator selector app=che-operator (#2741)
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha authored Sep 12, 2023
1 parent 8fde44d commit 95ae9a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tasks/installers/eclipse-che/eclipse-che.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ export namespace EclipseChe {
export const PLUGIN_REGISTRY_DEPLOYMENT_NAME = 'plugin-registry'

// Selectors
export const CHE_OPERATOR_SELECTOR = `app.kubernetes.io/name=${CHE_FLAVOR},app.kubernetes.io/component=${CHE_FLAVOR}-operator`
// It must be `app=`, see: https://issues.redhat.com/browse/CRW-4848
export const CHE_OPERATOR_SELECTOR = `app=${CHE_FLAVOR}-operator,app.kubernetes.io/component=${CHE_FLAVOR}-operator`

export const CHE_SERVER_SELECTOR = `app.kubernetes.io/name=${CHE_FLAVOR},app.kubernetes.io/component=${CHE_FLAVOR}`
export const DASHBOARD_SELECTOR = `app.kubernetes.io/name=${CHE_FLAVOR},app.kubernetes.io/component=${CHE_FLAVOR}-dashboard`
export const DEVFILE_REGISTRY_SELECTOR = `app.kubernetes.io/name=${CHE_FLAVOR},app.kubernetes.io/component=devfile-registry`
Expand Down

0 comments on commit 95ae9a8

Please sign in to comment.