Try changing load order

This commit is contained in:
2024-02-14 23:51:58 +00:00
parent 17c2217c74
commit b56031dc15
6 changed files with 10 additions and 11 deletions

View File

@@ -1,16 +1,13 @@
kind: Deployment
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment
metadata: metadata:
name: whoami name: whoami
namespace: apps namespace: apps
labels:
app: whoami
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: whoami app: whoami
replicas: 1
template: template:
metadata: metadata:
labels: labels:
@@ -20,5 +17,4 @@ spec:
- name: whoami - name: whoami
image: traefik/whoami image: traefik/whoami
ports: ports:
- name: web - containerPort: 80
containerPort: 80

View File

@@ -12,4 +12,3 @@ spec:
name: flux-system name: flux-system
path: ./apps path: ./apps
prune: true prune: true
wait: true

View File

@@ -12,4 +12,3 @@ spec:
name: flux-system name: flux-system
path: ./infrastructure path: ./infrastructure
prune: true prune: true
wait: true

View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- infrastructure.yaml
- apps.yaml