EUGENIO SOUZA CARVALHO 4 年之前
父節點
當前提交
e8109f2944
共有 2 個文件被更改,包括 51 次插入25 次删除
  1. 25 25
      argoworkflow/001-pv.yaml
  2. 26 0
      argoworkflow/workflow/040-sensor-github.yaml

+ 25 - 25
argoworkflow/001-pv.yaml

@@ -1,25 +1,25 @@
-apiVersion: v1
-kind: PersistentVolume
-metadata:
-  name: argo-pv-workflow
-  labels:
-    type: local
-    # argowf: argo-pv-workflow
-spec:
-  storageClassName: standard
-  capacity:
-    storage: 10Gi
-  accessModes:
-    - ReadWriteMany
-  hostPath:
-    path: "/kbctl"
-  persistentVolumeReclaimPolicy: Delete
-  # volumeMode: Filesystem
-  nodeAffinity:
-    required:
-      nodeSelectorTerms:
-        - matchExpressions:
-            - key: kubernetes.io/hostname
-              operator: In
-              values:
-                - k8s
+# apiVersion: v1
+# kind: PersistentVolume
+# metadata:
+#   name: argo-pv-workflow
+#   labels:
+#     type: local
+#     # argowf: argo-pv-workflow
+# spec:
+#   storageClassName: standard
+#   capacity:
+#     storage: 10Gi
+#   accessModes:
+#     - ReadWriteMany
+#   hostPath:
+#     path: "/kbctl"
+#   persistentVolumeReclaimPolicy: Delete
+#   # volumeMode: Filesystem
+#   nodeAffinity:
+#     required:
+#       nodeSelectorTerms:
+#         - matchExpressions:
+#             - key: kubernetes.io/hostname
+#               operator: In
+#               values:
+#                 - k8s

+ 26 - 0
argoworkflow/workflow/040-sensor-github.yaml

@@ -1,3 +1,29 @@
+apiVersion: v1
+kind: PersistentVolume
+metadata:
+  name: argo-pv-workflow
+  labels:
+    type: local
+    # argowf: argo-pv-workflow
+spec:
+  storageClassName: standard
+  capacity:
+    storage: 10Gi
+  accessModes:
+    - ReadWriteMany
+  hostPath:
+    path: "/kbctl"
+  persistentVolumeReclaimPolicy: Delete
+  # volumeMode: Filesystem
+  nodeAffinity:
+    required:
+      nodeSelectorTerms:
+        - matchExpressions:
+            - key: kubernetes.io/hostname
+              operator: In
+              values:
+                - k8s
+---
 apiVersion: argoproj.io/v1alpha1
 kind: Sensor
 metadata: