From b706c7211029be886b2f23610143fde2beca02c7 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Thu, 14 Nov 2024 11:15:20 +0100 Subject: [PATCH] order --- portal/base/kustomization.yaml | 2 +- portal/base/portal-deployment.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/portal/base/kustomization.yaml b/portal/base/kustomization.yaml index 87b0a4e..062ca04 100644 --- a/portal/base/kustomization.yaml +++ b/portal/base/kustomization.yaml @@ -1,8 +1,8 @@ resources: +- portal-pvc.yml - portal-deployment.yml - portal-ingress.yml - portal-namespace.yml - portal-service.yml -- portal-pvc.yml apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization diff --git a/portal/base/portal-deployment.yml b/portal/base/portal-deployment.yml index de24933..fe4a2f5 100644 --- a/portal/base/portal-deployment.yml +++ b/portal/base/portal-deployment.yml @@ -9,7 +9,7 @@ metadata: app: portal-node spec: volumes: - - name: config-volume + - name: init-config persistentVolumeClaim: claimName: init-config replicas: 3 @@ -27,7 +27,7 @@ spec: image: docker.sunet.se/drive/portal:0.1.0-3 imagePullPolicy: Always volumeMounts: - - name: config-volume + - name: inti-config mountPath: /config subPath: config resources: {} @@ -35,7 +35,7 @@ spec: - image: docker.sunet.se/drive/portal:0.1.0-3 name: init-config volumeMounts: - - name: config-volume + - name: init-config mountPath: /config subPath: config env: