diff --git a/template/stacks/core/argocd-sso/argocd-sso-config.yaml b/template/stacks/core/argocd-sso/argocd-sso-config.yaml index 4c83757..8513828 100644 --- a/template/stacks/core/argocd-sso/argocd-sso-config.yaml +++ b/template/stacks/core/argocd-sso/argocd-sso-config.yaml @@ -11,7 +11,7 @@ spec: metadata: generateName: argocd-config- spec: - # serviceAccountName: argocd-config + # serviceAccountName: bot restartPolicy: OnFailure containers: - name: push @@ -32,11 +32,6 @@ spec: secretKeyRef: name: forgejo-access-token key: forgejo_token - # envFrom: - # - secretRef: - # name: auth-generic-oauth-secret # thats the external secret the job should wait for - # - secretRef: - # name: k8s-job-token # edpbuilder should create this automatically and feed it to this job command: ["/bin/bash", "-c"] args: - | @@ -54,10 +49,6 @@ spec: rm yq_linux_arm64 fi - DOMAIN=192-168-197-2.c-one-infra.de - GIT_USERNAME=giteaAdmin - GIT_PASSWORD=2d3a114ddfb6059929cc6d97451201e361a524f3 - git config --global user.email "bot@bots.de" git config --global user.name "bot" diff --git a/template/stacks/core/forgejo-sso/forgejo-sso-config.yaml b/template/stacks/core/forgejo-sso/forgejo-sso-config.yaml index 3ed97b2..d85de44 100644 --- a/template/stacks/core/forgejo-sso/forgejo-sso-config.yaml +++ b/template/stacks/core/forgejo-sso/forgejo-sso-config.yaml @@ -32,21 +32,11 @@ spec: secretKeyRef: name: forgejo-access-token key: forgejo_token - # envFrom: - # - secretRef: - # name: auth-generic-oauth-secret # thats the external secret the job should wait for - # - secretRef: - # name: k8s-job-token # edpbuilder should create this automatically and feed it to this job command: ["/bin/bash", "-c"] args: - | #! /bin/bash - # if [[ "$client_secret" == "" ]]; - # then - # exit 1 - # fi - apt -qq update apt -qq install git wget -y if [[ "$(uname -m)" == "x86_64" ]]; then @@ -59,10 +49,6 @@ spec: rm yq_linux_arm64 fi - DOMAIN=192-168-197-2.c-one-infra.de - GIT_USERNAME=giteaAdmin - GIT_PASSWORD=2d3a114ddfb6059929cc6d97451201e361a524f3 - git config --global user.email "bot@bots.de" git config --global user.name "giteaAdmin"