EUGENIO SOUZA CARVALHO 3 years ago
parent
commit
e8109f2944
2 changed files with 51 additions and 25 deletions
  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: