Revert "Add GH to Woodpecker"

This reverts commit ab3815e653.

https://github.com/woodpecker-ci/woodpecker/issues/138
This commit is contained in:
rasmus 2024-02-12 06:59:24 +02:00
parent ab3815e653
commit a055c739c1
2 changed files with 0 additions and 15 deletions

View File

@ -10,9 +10,6 @@ kubectl create secret generic -n woodpecker woodpecker-secret \
--from-literal=WOODPECKER_AGENT_SECRET=$(openssl rand -hex 32) \
--from-literal=WOODPECKER_GITEA_CLIENT=... \
--from-literal=WOODPECKER_GITEA_SECRET=...
kubectl create secret generic -n woodpecker woodpecker-secret-github \
--from-literal=WOODPECKER_GITHUB_CLIENT=... \
--from-literal=WOODPECKER_GITHUB_SECRET=...
kubectl create secret generic -n woodpecker-execution woodpecker-secret \
--from-literal=WOODPECKER_AGENT_SECRET=$(kubectl get secret -n woodpecker woodpecker-secret -o jsonpath="{.data.WOODPECKER_AGENT_SECRET}" | base64 -d)
kubectl apply -n woodpecker -f woodpecker-server.yml

View File

@ -88,18 +88,6 @@ spec:
secretKeyRef:
name: woodpecker-secret
key: WOODPECKER_GITEA_SECRET
- name: WOODPECKER_GITHUB # https://woodpecker-ci.org/docs/administration/forges/github
value: "true"
- name: WOODPECKER_GITHUB_CLIENT
valueFrom:
secretKeyRef:
name: woodpecker-secret-github
key: WOODPECKER_GITHUB_CLIENT
- name: WOODPECKER_GITHUB_SECRET
valueFrom:
secretKeyRef:
name: woodpecker-secret-github
key: WOODPECKER_GITHUB_SECRET
- name: "WOODPECKER_AGENT_SECRET"
valueFrom:
secretKeyRef: