move coder to its own namespace.

This commit is contained in:
Joseph Hanson 2024-09-14 17:09:38 -05:00
parent 59ab555ad3
commit 44a7d70864
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
7 changed files with 21 additions and 6 deletions

View file

@ -4,7 +4,6 @@ apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret kind: ExternalSecret
metadata: metadata:
name: coder name: coder
namespace: default
spec: spec:
secretStoreRef: secretStoreRef:
kind: ClusterSecretStore kind: ClusterSecretStore

View file

@ -20,9 +20,8 @@ spec:
upgrade: upgrade:
cleanupOnFail: true cleanupOnFail: true
remediation: remediation:
strategy: rollback
retries: 3 retries: 3
uninstall:
keepHistory: false
values: values:
coder: coder:
podAnnotations: podAnnotations:

View file

@ -6,14 +6,14 @@ metadata:
name: &app coder name: &app coder
namespace: flux-system namespace: flux-system
spec: spec:
targetNamespace: default targetNamespace: coder
commonMetadata: commonMetadata:
labels: labels:
app.kubernetes.io/name: *app app.kubernetes.io/name: *app
dependsOn: dependsOn:
- name: external-secrets-stores - name: external-secrets-stores
- name: crunchy-postgres-operator-cluster - name: crunchy-postgres-operator-cluster
path: ./kubernetes/apps/default/coder/app path: ./kubernetes/apps/coder/coder/app
prune: false prune: false
sourceRef: sourceRef:
kind: GitRepository kind: GitRepository

View file

@ -0,0 +1,9 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# Pre Flux-Kustomizations
- ./namespace.yaml
# Flux-Kustomizations
- ./coder/ks.yaml

View file

@ -0,0 +1,9 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: coder
labels:
kustomize.toolkit.fluxcd.io/prune: disabled
volsync.backube/privileged-movers: "true"
pgo-enabled-hsn.dev: "true"

View file

@ -8,7 +8,6 @@ resources:
# Flux-Kustomizations # Flux-Kustomizations
- ./atuin/ks.yaml - ./atuin/ks.yaml
- ./autobrr/ks.yaml - ./autobrr/ks.yaml
- ./coder/ks.yaml
- ./excalidraw/ks.yaml - ./excalidraw/ks.yaml
- ./it-tools/ks.yaml - ./it-tools/ks.yaml
- ./maintainerr/ks.yaml - ./maintainerr/ks.yaml