ソースを参照

Parametrizo namespace

Celestino Rey 7 ヶ月 前
コミット
eb672b95f1
4 ファイル変更6 行追加6 行削除
  1. 1 1
      K8S/namespace.yaml
  2. 3 3
      K8S/pvc-finanzas.yaml
  3. 1 1
      K8S/pvc-postgresql.yaml
  4. 1 1
      K8S/pvc-static.yaml

+ 1 - 1
K8S/namespace.yaml

@@ -4,4 +4,4 @@
 apiVersion: v1
 kind: Namespace
 metadata:
-  name: finanzas
+  name: <NS>

+ 3 - 3
K8S/pvc-finanzas.yaml

@@ -5,7 +5,7 @@ metadata:
   labels:
     io.kompose.service: finanzas-media
   name: finanzas-media
-  namespace: finanzas
+  namespace: <NS>
 spec:
   accessModes:
     - ReadWriteOnce
@@ -21,7 +21,7 @@ metadata:
   labels:
     io.kompose.service: finanzas-reymotausers-migrations
   name: finanzas-reymotausers-migrations
-  namespace: finanzas
+  namespace: <NS>
 spec:
   accessModes:
     - ReadWriteOnce
@@ -37,7 +37,7 @@ metadata:
   labels:
     io.kompose.service: finanzas-finanzas-migrations
   name: finanzas-finanzas-migrations
-  namespace: finanzas
+  namespace: <NS>
 spec:
   accessModes:
     - ReadWriteOnce

+ 1 - 1
K8S/pvc-postgresql.yaml

@@ -4,7 +4,7 @@ metadata:
   labels:
     io.kompose.service: postgres-data
   name: postgres-data
-  namespace: finanzas
+  namespace: <NS>
 spec:
   accessModes:
     - ReadWriteOnce

+ 1 - 1
K8S/pvc-static.yaml

@@ -4,7 +4,7 @@ metadata:
   labels:
     io.kompose.service: static-volume
   name: static-volume
-  namespace: finanzas
+  namespace: <NS>
 spec:
   accessModes:
     - ReadWriteOnce