reanahub / reana-cluster

REANA cluster management
http://reana-cluster.readthedocs.io/
5 stars 23 forks source link

cli: default Kubernetes secret not being retrieved on OpenStack #234

Closed diegodelemos closed 5 years ago

diegodelemos commented 5 years ago

When creating a new cluster at CERN the RWC yaml spec doesn't contain the default Kubernetes token.

This can be reproduced with:

$ reana-cluster -f reana-cluster.yaml init --skip-initialization -o to-remove
Writing deployable REANA cluster configuration to to-remove.
$ tail to-remove/deployments/workflow-controller-manifest.yaml 
        - mountPath: /var/reana
          name: reana-shared-volume
      volumes:
      - name: reana-shared-volume
        persistentVolumeClaim:
          claimName: manila-cephfs-pvc
          readOnly: false
      - name: svaccount
        secret:
          secretName: null

This function is taking care of this. It works on local Minikube but not on OpenStack.

diegodelemos commented 5 years ago

Closing as token retrieval happens at initalization level.