move coder to its own namespace.
This commit is contained in:
parent
59ab555ad3
commit
44a7d70864
7 changed files with 21 additions and 6 deletions
|
@ -4,7 +4,6 @@ apiVersion: external-secrets.io/v1beta1
|
|||
kind: ExternalSecret
|
||||
metadata:
|
||||
name: coder
|
||||
namespace: default
|
||||
spec:
|
||||
secretStoreRef:
|
||||
kind: ClusterSecretStore
|
|
@ -20,9 +20,8 @@ spec:
|
|||
upgrade:
|
||||
cleanupOnFail: true
|
||||
remediation:
|
||||
strategy: rollback
|
||||
retries: 3
|
||||
uninstall:
|
||||
keepHistory: false
|
||||
values:
|
||||
coder:
|
||||
podAnnotations:
|
|
@ -6,14 +6,14 @@ metadata:
|
|||
name: &app coder
|
||||
namespace: flux-system
|
||||
spec:
|
||||
targetNamespace: default
|
||||
targetNamespace: coder
|
||||
commonMetadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: *app
|
||||
dependsOn:
|
||||
- name: external-secrets-stores
|
||||
- name: crunchy-postgres-operator-cluster
|
||||
path: ./kubernetes/apps/default/coder/app
|
||||
path: ./kubernetes/apps/coder/coder/app
|
||||
prune: false
|
||||
sourceRef:
|
||||
kind: GitRepository
|
9
kubernetes/apps/coder/kustomization.yaml
Normal file
9
kubernetes/apps/coder/kustomization.yaml
Normal 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
|
9
kubernetes/apps/coder/namespace.yaml
Normal file
9
kubernetes/apps/coder/namespace.yaml
Normal 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"
|
|
@ -8,7 +8,6 @@ resources:
|
|||
# Flux-Kustomizations
|
||||
- ./atuin/ks.yaml
|
||||
- ./autobrr/ks.yaml
|
||||
- ./coder/ks.yaml
|
||||
- ./excalidraw/ks.yaml
|
||||
- ./it-tools/ks.yaml
|
||||
- ./maintainerr/ks.yaml
|
||||
|
|
Loading…
Reference in a new issue