Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to disable the check for cert-manager in the Helm chart #1640

Closed
adejanovski opened this issue Feb 13, 2024 · 0 comments · Fixed by #1641
Closed

Make it possible to disable the check for cert-manager in the Helm chart #1640

adejanovski opened this issue Feb 13, 2024 · 0 comments · Fixed by #1641
Labels
done Issues in the state 'done'

Comments

@adejanovski
Copy link
Contributor

In some cases the helm chart check for the cert-manager capability will create some issues we cannot solve.
We need to add a value that will allow to disable this check when we need to.

The templates that apply the check should then be changed to something like:

{{- $certmanager := .Capabilities.APIVersions.Has "cert-manager.io/v1" -}}
{{- $disableCertManagerCheck := .Values.disableCertManagerCheck -}}

{{- if not $certmanager -}}
  {{- if not $disableCertManagerCheck -}}
    {{- fail (print "cass-operator requires cert-manager to be installed in the cluster") }}
  {{- end -}}
{{- end -}}
@adejanovski adejanovski added the ready Issues in the state 'ready' label Feb 13, 2024
@adejanovski adejanovski added done Issues in the state 'done' and removed ready Issues in the state 'ready' labels Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Issues in the state 'done'
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant