diff --git a/apps/cluster1/tor-controller-instance/kustomization.yaml b/apps/cluster1/tor-controller-instance/kustomization.yaml new file mode 100644 index 000000000..476baf0c0 --- /dev/null +++ b/apps/cluster1/tor-controller-instance/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: tor-controller-instance +resources: +- namespace.yaml +- tor.yaml diff --git a/apps/cluster1/tor-controller-instance/namespace.yaml b/apps/cluster1/tor-controller-instance/namespace.yaml new file mode 100644 index 000000000..516449115 --- /dev/null +++ b/apps/cluster1/tor-controller-instance/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: tor-controller-instance diff --git a/apps/cluster1/tor-controller-instance/tor.yaml b/apps/cluster1/tor-controller-instance/tor.yaml new file mode 100644 index 000000000..b9bb83144 --- /dev/null +++ b/apps/cluster1/tor-controller-instance/tor.yaml @@ -0,0 +1,4 @@ +apiVersion: tor.k8s.torproject.org/v1alpha2 +kind: Tor +metadata: + name: example-tor-instance diff --git a/clusters/cluster1/flux-system/apps.yaml b/clusters/cluster1/flux-system/apps.yaml index 50e10d808..1f58b2d8d 100644 --- a/clusters/cluster1/flux-system/apps.yaml +++ b/clusters/cluster1/flux-system/apps.yaml @@ -206,3 +206,16 @@ spec: sourceRef: kind: GitRepository name: flux-system +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +kind: Kustomization +metadata: + name: tor-controller-instance + namespace: flux-system +spec: + interval: 10m0s + path: ./apps/cluster1/tor-controller-instance + prune: true + sourceRef: + kind: GitRepository + name: flux-system