EUGENIO SOUZA CARVALHO hace 4 años
padre
commit
c3d4489a84
Se han modificado 2 ficheros con 7 adiciones y 0 borrados
  1. 1 0
      argoworkflow/workflow/040-sensor-github.yaml
  2. 6 0
      sc.yaml

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

@@ -116,6 +116,7 @@ spec:
                 - metadata:
                     name: workdir
                   spec:
+                    storageClassName: local-storage
                     accessModes: [ "ReadWriteOnce" ]
                     resources:
                       requests:

+ 6 - 0
sc.yaml

@@ -0,0 +1,6 @@
+apiVersion: storage.k8s.io/v1
+kind: StorageClass
+metadata:
+  name: local-storage
+provisioner: kubernetes.io/no-provisioner
+volumeBindingMode: WaitForFirstConsumer