bitter-dentist-28132
09/03/2019, 10:02 PMclusterIP
service doesn't cause a replace, instead it tries to update the service which causes an error because the spec.clusterIP
field is immutable and set by kubernetes if not specified at creation timecreamy-potato-29402
09/03/2019, 10:08 PMbitter-dentist-28132
09/03/2019, 10:08 PM~ kubernetes:core/v1:Service: (update)
[id=default/nginxingresscontroller-nginx-ingress-default-backend]
[urn=urn:pulumi:nightly::cfm::kubernetes:<http://helm.sh/v2:Chart$kubernetes:core/v1:Service::nginxingresscontroller-nginx-ingress-default-backend|helm.sh/v2:Chart$kubernetes:core/v1:Service::nginxingresscontroller-nginx-ingress-default-backend>]
[provider=urn:pulumi:nightly::cfm::pulumi:providers:kubernetes::cfm::a54fb532-f407-4d17-8436-5dd9fb344698]
~ metadata: {
~ labels: {
~ chart: "nginx-ingress-1.17.1" => "nginx-ingress-1.17.1"
}
}
creamy-potato-29402
09/03/2019, 10:10 PMbitter-dentist-28132
09/03/2019, 10:12 PMclusterIP
when you haven't specified spec.clusterIP
, otherwise you end up with:
* Service "nginxingresscontroller-nginx-ingress-default-backend" is invalid: spec.clusterIP: Invalid value: "": field is immutable
creamy-potato-29402
09/03/2019, 10:14 PM.spec.clusterIP
, it should be an update.""
is getting passed as the value of `.spec.clusterIP`—so if the API server filled that value in, that might register it as a change, I guess?bitter-dentist-28132
09/03/2019, 10:25 PMcreamy-potato-29402
09/03/2019, 10:25 PM""
in that field.bitter-dentist-28132
09/03/2019, 10:25 PMcreamy-potato-29402
09/03/2019, 10:25 PMbitter-dentist-28132
09/03/2019, 10:25 PMcreamy-potato-29402
09/03/2019, 10:25 PMbitter-dentist-28132
09/03/2019, 10:26 PMcreamy-potato-29402
09/03/2019, 10:26 PMtransformations
callback you can fix this by setting clusterIP: undefined
bitter-dentist-28132
09/03/2019, 10:29 PM.Values.controller.metrics.service.omitClusterIP
, very odd that it'll put an empty clusterIP by default instead of just not specifying that keycreamy-potato-29402
09/03/2019, 10:31 PMbitter-dentist-28132
09/03/2019, 10:38 PMnamespace: {{ .Release.Namespace }}
everywhere so that it doesn't rely on tiller's resource transformations.creamy-potato-29402
09/03/2019, 10:41 PMstocky-island-3676
09/13/2019, 12:34 PMhelm lint
command. Don’t know if it tests for this, though.