Unified Interface for Constructing and Managing Workflows on different workflow engines, such as Argo Workflows, Tekton Pipelines, and Apache Airflow.
908
stars
86
forks
source link
fix: The possibility to use an existing secret #235
Closed
nooraangelva closed 3 years ago
What changes were proposed in this pull request?
The changes make it possible to use an existing secret from Kubernetes.
Why are the changes needed?
To be able to use existing secrets.
Does this PR introduce any user-facing change?
Yes. The following:
access_key = {"keytab":""} secret = couler.create_secret( secret_data=access_key, namespace="argo", name="testi123", dry_run=False, exists=True )
If secret exists thenexists=True
by defaultFalse
.How was this patch tested?
/test/secret.py test was modified and also some example code was used to test it.