From c735df999242afd7e3c15a8b2e9ee193568f410f Mon Sep 17 00:00:00 2001 From: Ian Bibby <470816+ianbibby@users.noreply.github.com> Date: Fri, 26 Mar 2021 13:51:09 -0700 Subject: [PATCH] Create the storage system secret earlier with default value --- deploy/deployment.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/deploy/deployment.yaml b/deploy/deployment.yaml index 210d4f2e..a8c3fe71 100644 --- a/deploy/deployment.yaml +++ b/deploy/deployment.yaml @@ -44,6 +44,14 @@ subjects: name: system:serviceaccounts:karavi apiGroup: rbac.authorization.k8s.io --- +apiVersion: v1 +kind: Secret +metadata: + name: karavi-storage-secret + namespace: karavi +data: + storage-systems.yaml: c3RvcmFnZToK +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -282,11 +290,4 @@ spec: - protocol: TCP port: 8081 targetPort: 8081 ---- -apiVersion: v1 -kind: Secret -metadata: - name: karavi-storage-secret - namespace: karavi -data: - storage-systems.yaml: +