diff --git a/Makefile b/Makefile index 7339746..fe7ffc1 100644 --- a/Makefile +++ b/Makefile @@ -23,10 +23,6 @@ uninstall: ## Uninstall Gitpod @echo "Starting uninstall process..." @$(call DOCKER_RUN_CMD, --uninstall) -auth: ## Install OAuth providers - @echo "Installing auth providers..." - @$(call DOCKER_RUN_CMD, --auth) - help: ## Display this help @awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n"} /^[a-zA-Z0-9_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) diff --git a/README.md b/README.md index 35dce9b..581e71c 100644 --- a/README.md +++ b/README.md @@ -117,18 +117,16 @@ It should display the Gitpod login page similar to the next image. ---- -## Update Gitpod auth providers +## Delete Gitpod from your cluster -Please check the [OAuth providers integration documentation](https://www.gitpod.io/docs/self-hosted/0.5.0/install/oauth) expected format. +Remove Gitpod from your cluster running: -We provide an [example here](./auth-providers-patch.yaml). Fill it with your OAuth providers data. - -```console -make auth +```shell +kubectl get configmaps gitpod-app \ + -o jsonpath='{.data.app\.yaml}' | \ + kubectl delete -f - ``` -> We are aware of the limitation of this approach, and we are working to improve the helm chart to avoid this step. - ## Destroy the cluster and GCP resources Remove the GCP cluster running: diff --git a/auth-providers-patch.yaml b/auth-providers-patch.yaml deleted file mode 100644 index 4271f9d..0000000 --- a/auth-providers-patch.yaml +++ /dev/null @@ -1,19 +0,0 @@ -data: - # Please check the documentation for details the expected format - # https://www.gitpod.io/docs/self-hosted/0.5.0/install/oauth - auth-providers.json: | - [ - { - "id": "Public-GitHub", - "host": "github.com", - "type": "GitHub", - "oauth": { - "clientId": "XXXXXXXXXXXXXXXXXX", - "clientSecret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "callBackUrl": "https://aws./auth/github/callback", - "settingsUrl": "https://mygithub.com/settings/applications/" - }, - "description": "", - "icon": "" - } - ]