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
|
kind: ExternalSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: coder
|
name: coder
|
||||||
namespace: default
|
|
||||||
spec:
|
spec:
|
||||||
secretStoreRef:
|
secretStoreRef:
|
||||||
kind: ClusterSecretStore
|
kind: ClusterSecretStore
|
|
@ -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:
|
|
@ -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
|
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
|
# 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
|
||||||
|
|
Loading…
Reference in a new issue