diff --git a/apps/kustomization.yaml b/apps/whoami.yaml similarity index 100% rename from apps/kustomization.yaml rename to apps/whoami.yaml diff --git a/apps/whoami/deployment.yaml b/apps/whoami/deployment.yaml index 03565cb..bc47eae 100644 --- a/apps/whoami/deployment.yaml +++ b/apps/whoami/deployment.yaml @@ -1,16 +1,13 @@ -kind: Deployment apiVersion: apps/v1 +kind: Deployment metadata: name: whoami namespace: apps - labels: - app: whoami - spec: - replicas: 1 selector: matchLabels: app: whoami + replicas: 1 template: metadata: labels: @@ -20,5 +17,4 @@ spec: - name: whoami image: traefik/whoami ports: - - name: web - containerPort: 80 \ No newline at end of file + - containerPort: 80 \ No newline at end of file diff --git a/clusters/talos/apps.yaml b/clusters/talos/apps.yaml index c1a0a1f..b423764 100644 --- a/clusters/talos/apps.yaml +++ b/clusters/talos/apps.yaml @@ -11,5 +11,4 @@ spec: kind: GitRepository name: flux-system path: ./apps - prune: true - wait: true \ No newline at end of file + prune: true \ No newline at end of file diff --git a/clusters/talos/infrastructure.yaml b/clusters/talos/infrastructure.yaml index c75767b..19bcb7f 100644 --- a/clusters/talos/infrastructure.yaml +++ b/clusters/talos/infrastructure.yaml @@ -11,5 +11,4 @@ spec: kind: GitRepository name: flux-system path: ./infrastructure - prune: true - wait: true \ No newline at end of file + prune: true \ No newline at end of file diff --git a/clusters/talos/kustomization.yaml b/clusters/talos/kustomization.yaml new file mode 100644 index 0000000..c3eeac1 --- /dev/null +++ b/clusters/talos/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- infrastructure.yaml +- apps.yaml \ No newline at end of file diff --git a/infrastructure/kustomization.yaml b/infrastructure/traefik.yaml similarity index 100% rename from infrastructure/kustomization.yaml rename to infrastructure/traefik.yaml