From 26e1eafcb5caac86761116504ee0974f382b5bc2 Mon Sep 17 00:00:00 2001 From: Nathan Douglas Date: Sat, 9 Mar 2024 10:34:44 -0500 Subject: [PATCH] Moved github-token secret. --- .../tasks/application_sets/gitops_repo.yaml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/roles/goldentooth.install_argocd_apps/tasks/application_sets/gitops_repo.yaml b/roles/goldentooth.install_argocd_apps/tasks/application_sets/gitops_repo.yaml index 3822944..ddf41f9 100644 --- a/roles/goldentooth.install_argocd_apps/tasks/application_sets/gitops_repo.yaml +++ b/roles/goldentooth.install_argocd_apps/tasks/application_sets/gitops_repo.yaml @@ -1,18 +1,4 @@ --- -- name: 'Create a Kubernetes secret for the GitHub token.' - kubernetes.core.k8s: - state: 'present' - definition: - apiVersion: 'v1' - kind: 'Secret' - metadata: - name: 'github-token' - namespace: 'argocd' - type: 'Opaque' - data: - token: "{{ vault.github_token | b64encode }}" - run_once: true - - name: 'Create the "GitOps Repo" ApplicationSet.' kubernetes.core.k8s: state: 'present'