diff --git a/deployments/argocd/argocd-install.yaml b/deployments/argocd/argocd-install.yaml new file mode 100644 index 0000000..fe7ada1 --- /dev/null +++ b/deployments/argocd/argocd-install.yaml @@ -0,0 +1,36 @@ +apiVersion: argoproj.io/v1alpha1 +kind: ArgoCD +metadata: + name: argocd + namespace: argocd +spec: + server: + route: + enabled: true + controller: + processors: {} + resourceTrackingMethod: annotation + repo: + mtls: {} + sso: + provider: dex + dex: + config: | + connectors: + - type: oidc + id: oidc + name: OpenID Connect + config: + issuer: https://your-oidc-provider.com + clientID: argocd + clientSecret: $oidc.clientSecret + requestedScopes: ["openid", "profile", "email", "groups"] +--- +apiVersion: v1 +kind: Secret +metadata: + name: argocd-secret + namespace: argocd +type: Opaque +stringData: + oidc.clientSecret: "your-oidc-client-secret" diff --git a/deployments/argocd/argocd-namespace.yaml b/deployments/argocd/argocd-namespace.yaml new file mode 100644 index 0000000..a2b5058 --- /dev/null +++ b/deployments/argocd/argocd-namespace.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: argocd + labels: + name: argocd + app.kubernetes.io/part-of: telecom-platform + app.kubernetes.io/component: gitops + annotations: + telecom-platform.io/managed-by: "gitops"