Skip to content

Commit

Permalink
fix: Remove the process to check OIDC provider on server:deploy (#2902)
Browse files Browse the repository at this point in the history
* remove --skip-oidc-provider-check flag and its logic

Signed-off-by: ynqa <[email protected]>
  • Loading branch information
ynqa authored Jul 29, 2024
1 parent 386da7e commit ccd0e70
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 72 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,10 +308,10 @@ USAGE
[--k8spoddownloadimagetimeout <value>] [--k8spoderrorrechecktimeout <value>] [-d <value>] [-p
minikube|k8s|openshift|microk8s|docker-desktop|crc] [-b <value>] [--debug] [--che-operator-image <value>]
[--che-operator-cr-yaml <value>] [--che-operator-cr-patch-yaml <value>] [--workspace-pvc-storage-class-name <value>]
[--skip-version-check] [--skip-cert-manager] [--skip-devworkspace-operator] [--skip-oidc-provider-check]
[--auto-update] [--starting-csv <value>] [--package-manifest-name <value>] [--catalog-source-yaml <value>
--olm-channel <value>] [--catalog-source-name <value> --catalog-source-namespace <value> ] [--catalog-source-image
<value> ] [--cluster-monitoring] [--telemetry on|off] [--skip-kubernetes-health-check]
[--skip-version-check] [--skip-cert-manager] [--skip-devworkspace-operator] [--auto-update] [--starting-csv <value>]
[--package-manifest-name <value>] [--catalog-source-yaml <value> --olm-channel <value>] [--catalog-source-name
<value> --catalog-source-namespace <value> ] [--catalog-source-image <value> ] [--cluster-monitoring] [--telemetry
on|off] [--skip-kubernetes-health-check]
FLAGS
-b, --domain=<value>
Expand Down Expand Up @@ -416,9 +416,6 @@ FLAGS
--skip-kubernetes-health-check
Skip Kubernetes health check
--skip-oidc-provider-check
Skip OIDC Provider check
--skip-version-check
Skip minimal versions check.
Expand Down
3 changes: 0 additions & 3 deletions src/commands/server/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ import {
SKIP_DEV_WORKSPACE_FLAG,
SKIP_KUBE_HEALTHZ_CHECK,
SKIP_KUBE_HEALTHZ_CHECK_FLAG,
SKIP_OIDC_PROVIDER,
SKIP_OIDC_PROVIDER_FLAG,
SKIP_VERSION_CHECK,
SKIP_VERSION_CHECK_FLAG,
STARTING_CSV,
Expand Down Expand Up @@ -127,7 +125,6 @@ export default class Deploy extends Command {
[SKIP_VERSION_CHECK_FLAG]: SKIP_VERSION_CHECK,
[SKIP_CERT_MANAGER_FLAG]: SKIP_CERT_MANAGER,
[SKIP_DEV_WORKSPACE_FLAG]: SKIP_DEV_WORKSPACE,
[SKIP_OIDC_PROVIDER_FLAG]: SKIP_OIDC_PROVIDER,
[AUTO_UPDATE_FLAG]: AUTO_UPDATE,
[STARTING_CSV_FLAG]: STARTING_CSV,
[OLM_CHANNEL_FLAG]: OLM_CHANNEL,
Expand Down
6 changes: 0 additions & 6 deletions src/flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ export const LISTR_RENDERER = Flags.string({
hidden: true,
})

export const SKIP_OIDC_PROVIDER_FLAG = 'skip-oidc-provider-check'
export const SKIP_OIDC_PROVIDER = Flags.boolean({
description: 'Skip OIDC Provider check',
default: false,
})

export const SKIP_KUBE_HEALTHZ_CHECK_FLAG = 'skip-kubernetes-health-check'
export const SKIP_KUBE_HEALTHZ_CHECK = Flags.boolean({
description: 'Skip Kubernetes health check',
Expand Down
56 changes: 0 additions & 56 deletions src/tasks/platform-tasks.ts

This file was deleted.

0 comments on commit ccd0e70

Please sign in to comment.