{{- if (and (.Values.preflight.enabled) (not (.Values.agent)) (not (.Values.operator.enabled))) }}
    You have successfully ran the preflight check.
    Now make sure to check the number of READY pods is the same as the number of running cilium pods.
    Then make sure the cilium preflight deployment is also marked READY 1/1.
    If you have an issues please refer to the CNP Validation section in the upgrade guide.
{{- else if (and (.Values.hubble.enabled) (.Values.hubble.relay.enabled)) }}
    {{- if (.Values.hubble.ui.enabled) }}
        You have successfully installed {{ title .Chart.Name }} with Hubble Relay and Hubble UI.
    {{- else }}
        You have successfully installed {{ title .Chart.Name }} with Hubble Relay.
    {{- end }}
{{- else if .Values.hubble.enabled }}
    You have successfully installed {{ title .Chart.Name }} with Hubble.
{{- else }}
    You have successfully installed {{ title .Chart.Name }}.
{{- end }}

Your release version is {{ .Chart.Version }}.

For any further help, visit https://docs.cilium.io/en/v{{ substr 0 3 .Chart.Version }}/gettinghelp

{{- if (and (.Values.preflight.enabled) (not (.Values.agent)) (not (.Values.operator.enabled))) }}
    You have successfully ran the preflight check.
    Now make sure to check the number of READY pods is the same as the number of running cilium pods.
    Then make sure the cilium preflight deployment is also marked READY 1/1.
    If you have an issues please refer to the CNP Validation section in the upgrade guide.
{{- else if (and (.Values.hubble.enabled) (.Values.hubble.relay.enabled)) }}
    {{- if (.Values.hubble.ui.enabled) }}
        You have successfully installed {{ title .Chart.Name }} with Hubble Relay and Hubble UI.
    {{- else }}
        You have successfully installed {{ title .Chart.Name }} with Hubble Relay.
    {{- end }}
{{- else if .Values.hubble.enabled }}
    You have successfully installed {{ title .Chart.Name }} with Hubble.
{{- else }}
    You have successfully installed {{ title .Chart.Name }}.
{{- end }}

Your release version is {{ .Chart.Version }}.

For any further help, visit https://docs.cilium.io/en/v{{ (semver .Chart.Version).Major }}.{{ (semver .Chart.Version).Minor }}/gettinghelp

Fix documentation URL for v1.10
helm: Fix documentation URL for v1.10

v1.10 will need more than the first 3 digits of the version semver, it
will need the full $major.$minor. Fix this up.

Signed-off-by: Joe Stringer <16a9a54ddf4259952e3c118c763138e83693d7fd@cilium.io>
