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: