diff --git a/clusters/devops-lab/customer1.yaml b/clusters/devops-lab/customer1.yaml index 86939ee..0b9fc11 100644 --- a/clusters/devops-lab/customer1.yaml +++ b/clusters/devops-lab/customer1.yaml @@ -4,9 +4,11 @@ metadata: name: customer1 namespace: flux-system spec: - interval: 1m0s + interval: 1m0s retryInterval: 1m timeout: 5m + dependsOn: + - name: infrastructure-controllers sourceRef: kind: GitRepository name: flux-system diff --git a/clusters/devops-lab/infra-tailnet.yaml b/clusters/devops-lab/infra-tailnet.yaml new file mode 100644 index 0000000..8c87f49 --- /dev/null +++ b/clusters/devops-lab/infra-tailnet.yaml @@ -0,0 +1,20 @@ +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: infrastructure-tailnet + namespace: flux-system +spec: + interval: 1m0s + retryInterval: 1m + timeout: 5m + dependsOn: + - name: infrastructure-controllers + sourceRef: + kind: GitRepository + name: flux-system + path: ./infrastructure/tailnet + prune: true + decryption: + provider: sops + secretRef: + name: sops-age \ No newline at end of file diff --git a/infrastructure/controllers/base/tailscale/kustomization.yaml b/infrastructure/controllers/base/tailscale/kustomization.yaml index 6e6aa53..f54c07f 100644 --- a/infrastructure/controllers/base/tailscale/kustomization.yaml +++ b/infrastructure/controllers/base/tailscale/kustomization.yaml @@ -5,4 +5,3 @@ resources: - repository.yaml - release-operator.yaml - authkey-secret.enc.yaml - - tsproxy-rtx6000.yaml diff --git a/infrastructure/tailnet/kustomization.yaml b/infrastructure/tailnet/kustomization.yaml new file mode 100644 index 0000000..5b66e62 --- /dev/null +++ b/infrastructure/tailnet/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ../../controllers/base/tailscale/tsproxy-rtx6000.yaml \ No newline at end of file