浏览代码

auto create copyparty namespace

Josh Bicking 16 小时之前
父节点
当前提交
50a552d1a0
共有 2 个文件被更改,包括 2 次插入5 次删除
  1. 2 0
      argocd/applications.yaml
  2. 0 5
      argocd/copyparty/copyparty.yaml

+ 2 - 0
argocd/applications.yaml

@@ -181,6 +181,8 @@ spec:
     repoURL: https://gogs.jibby.org/jhb2345/server
     targetRevision: HEAD
   syncPolicy:
+    syncOptions:
+      - CreateNamespace=true
     automated:
       enabled: true
 ---

+ 0 - 5
argocd/copyparty/copyparty.yaml

@@ -1,9 +1,4 @@
 ---
-apiVersion: v1
-kind: Namespace
-metadata:
-    name: copyparty
----
 apiVersion: apps/v1
 kind: Deployment
 metadata: