We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
internalTrafficPolicy
Kubernetes Service spec.internalTrafficPolicy was made stable in Kubernetes 1.26. This setting prevents installs on earlier cluster versions:
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Service.spec): unknown field "internalTrafficPolicy" in io.k8s.api.core.v1.ServiceSpec make: *** [deploy] Error 1
This can be fixed by adding this into the service template:
apiVersion: v1 kind: Service ... spec: ... {{- if semverCompare ">=1.26-0" .Capabilities.KubeVersion.Version }} internalTrafficPolicy: {{.Values.alloy.service.internalTrafficPolicy}} {{- end }} ...
With this simple change, we could deploy on earlier cluster versions.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Request
Kubernetes Service
spec.internalTrafficPolicy was made stable in Kubernetes 1.26. This setting prevents installs on earlier cluster versions:
This can be fixed by adding this into the service template:
Use case
With this simple change, we could deploy on earlier cluster versions.
The text was updated successfully, but these errors were encountered: