Skip to content

Commit

Permalink
feat(staging): Rename flux/cluster to cluster/config
Browse files Browse the repository at this point in the history
This is a multi-step process collapsed into a single commit

* set prune=false for flux/cluster, then deploy
* add empty kustomization to cluster/config and point
  flux-system/flux-operator/instance at it, then deploy
* move cluster.yaml to cluster/config, then deploy
* set prune=true
  • Loading branch information
szinn committed Jan 25, 2025
1 parent 561131a commit b3475e9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ instance:
kind: GitRepository
url: https://github.com/szinn/k8s-homelab.git
ref: refs/heads/main
path: kubernetes/staging/flux/cluster
path: kubernetes/staging/cluster/config
commonMetadata:
labels:
app.kubernetes.io/name: flux
Expand Down
6 changes: 6 additions & 0 deletions kubernetes/staging/cluster/settings/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: flux-system
resources: []

0 comments on commit b3475e9

Please sign in to comment.