feat: move namespaces defs into apps and utilize fluxcd.io/prune label

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-06-16 19:44:26 -04:00
1 parent fc7ddff94a
commit fb5b38e7a8
28 files changed
+84 -63

No files matched your search

@@ -17,11 +17,16 @@ spec:
interval: 5m
install:
createNamespace: true
remediation:
retries: 3
upgrade:
remediation:
retries: 3
values:
global:
nameOverride: *app
controller:
replicas: 2
replicas: 1
strategy: RollingUpdate
image:
repository: docker.io/jmalloc/echo-server
@@ -84,15 +89,6 @@ spec:
- hosts:
- *host
secretName: "echo-server-tls"
# # FIXME: Uncomment this block to ensure multiple
# # replicas of the pod are scheduled on different nodes
# topologySpreadConstraints:
# - maxSkew: 1
# topologyKey: kubernetes.io/hostname
# whenUnsatisfiable: DoNotSchedule
# labelSelector:
# matchLabels:
# app.kubernetes.io/name: *app
resources:
requests:
cpu: 50m
+1
View File
@@ -2,5 +2,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- echo-server
- hajimari
+7
View File
@@ -0,0 +1,7 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: default
labels:
kustomize.toolkit.fluxcd.io/prune: disabled