Skip to content

Warn user via NOTES.txt when a non-prod ready subchart is enabled

Clemens Beck requested to merge 4846-warn-users-when-dev-subcharts-enabled into master

What does this MR do?

Warning user when a non-prod ready subchart is enabled

Changelog: changed

Related issues

Closes #4846 (closed)

Test Plan

  1. Installing the Chart with default values will raise a warning:
=== CRITICAL
The following charts are included for evaluation purposes only. They will not be supported by GitLab Support 
for production workloads. Use Cloud Native Hybrid deployments for production. For more information visit 
https://docs.gitlab.com/charts/installation/index.html#use-the-reference-architectures.
- PostgreSQL
- Redis
- Gitaly
- MinIO
  1. Enabling Praefect (--set global.praefect.enabled=true) will add Praefect to the warning:
=== CRITICAL
The following charts are included for evaluation purposes only. They will not be supported by GitLab Support 
for production workloads. Use Cloud Native Hybrid deployments for production. For more information visit 
https://docs.gitlab.com/charts/installation/index.html#use-the-reference-architectures.
- PostgreSQL
- Redis
- Gitaly
- Praefect
- MinIO

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Merge Request Title and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com
  • When ready for review, follow the instructions in the "Reviewer Roulette" section of the Danger Bot MR comment, as per the Distribution experimental MR workflow

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for omnibus-gitlab opened
  • Validate potential values for new configuration settings. Formats such as integer 10, duration 10s, URI scheme://user:passwd@host:port may require quotation or other special handling when rendered in a template and written to a configuration file.
Edited by Clemens Beck

Merge request reports