cloud-native-toolkit / cloud-native-toolkit/planning
Add a check for secrets in the ibm-setup task - if no pipeline secrets in the namespace - offer error msg "run oc sync {$namespace}"
- Dominant language
- No language data
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
As a new user of the pipeline, I have built new namespaces and forgotten to run 'oc sync' - it would be great if ibm-setup task ran this step for me, or failed the setup step after checking if the secrets it needs are available.
**Which persona(s) does this feature benefit (e.g. developer, SRE, etc)?**
new users or forgetful people - like me
**What is the impact of not having this feature? What will be the benefit of having this feature?**
without this feature, if image-scan is turned off, a user will not be aware of the problem until the very end of the pipeline run when artifactory_url is requested from the artifactory-access secret
**Describe the solution you'd like**
add a step to the setup to check for secrets it needs (maybe this is per task), and run oc sync for the namespace OR give an error message and alert the user on how to repair the issue by running oc sync {$namespace}.
**Describe alternatives you've considered**
no alternative i can think of - fail fast, fail early - let the user know they skipped a step - make a user happy. THE END
**Additional context**
Add any other context or screenshots about the feature request here.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.