directangular/k8s lock
Protect steps in your workflow from concurrent execution using a kubernetes secret to implement a distributed lock
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| kube_config_data | base64 encoded kubeconfig (generally from a secret). The "aws" command is available (aws-cli-v2) | yes | — |
| kube_context | The context from the provided kubeconfig that should be used (will be passed to kubectl use-context) | no | — |
| lock_name | Lock name (should be unique across all actions in this repo). | yes | — |
| max_attempts | How many times locking will be attempted before bailing out. | no | — |
Outputs
no outputs