Skip to content
This repository was archived by the owner on Aug 11, 2026. It is now read-only.

chore: standardize k8s/ to base/+overlays/ convention (homelab#141) - #8

Merged
dvystrcil merged 1 commit into
mainfrom
chore/base-overlays-convention
Jul 30, 2026
Merged

chore: standardize k8s/ to base/+overlays/ convention (homelab#141)#8
dvystrcil merged 1 commit into
mainfrom
chore/base-overlays-convention

Conversation

@dvystrcil

Copy link
Copy Markdown
Owner

Part of homelab#141.

k8s/ previously had no kustomization.yaml at all — ArgoCD applied the flat files directly as a raw manifest source (spec.sources[0].path: 'k8s'). This PR introduces kustomize for the first time: k8s/base/ holds the manifests unchanged, k8s/overlays/ is a thin wrapper (resources: [../base]).

Verified additive/structural only: kubectl kustomize k8s/overlays/ renders the same 7 objects with identical content as the original flat files.

Fork-pressure note: this repo is a fork of AUTOMATIC1111's stable-diffusion-webui with a custom Dockerfile/deploy layer. This PR only touches the deploy manifests (k8s/), not forked application code.

Merge together with the companion argocd-projects PR (sd-webui-rcom Application, spec.sources[0].path k8sk8s/overlays; the app's second source, gateway-services, is untouched). automated.selfHeal is enabled, so whichever merges first will show a brief, non-destructive transient sync error.

Test plan

  • kubectl kustomize k8s/overlays/ structurally identical to pre-migration flat manifests (7/7 objects match)
  • validate CI check (kustomize-validate-action) passes
  • After both PRs merge: confirm the sd-webui-rcom ArgoCD Application returns to Synced/Healthy

k8s/ previously had no kustomization.yaml -- ArgoCD applied the flat
files directly as a raw manifest source. Introduces kustomize for the
first time: k8s/base/ holds the manifests (unchanged), k8s/overlays/
is a thin wrapper (resources: [../base]).

Verified additive/structural only: rendered `kubectl kustomize
k8s/overlays/` produces the same 7 objects with identical content as
the original flat files.

Fork-pressure note: this is a fork of AUTOMATIC1111's stable-diffusion-
webui with a custom Dockerfile/deploy layer. This PR only touches the
deploy manifests (k8s/), not the forked application code, so it doesn't
add to future upstream-merge friction.

Depends on a matching path update in dvystrcil/argocd-projects
(sd-webui-rcom Application, spec.sources[0].path 'k8s' -> 'k8s/overlays')
-- merge both PRs together. automated.selfHeal is enabled, so whichever
merges first will show a brief non-destructive transient sync error.
@dvystrcil
dvystrcil merged commit 045e8b0 into main Jul 30, 2026
1 check passed
@dvystrcil
dvystrcil deleted the chore/base-overlays-convention branch July 30, 2026 15:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant