Answer the question
In order to leave comments, you need to log in
Do I need to edit the stolon helm template to support externalIPs?
I install stolon via helm
Created values.yaml file
proxy:
service:
type:
externalIPs: ["10.233.60.152"]
helm install -f values.yaml --name stable-stolon stable/stolon --set persistence.storageClassName=local-storage,superuserPassword=password,replicationPassword=password
Error: render error in "stolon/templates/proxy-service.yaml": template: stolon/templates/proxy-service.yaml:15:12: executing "stolon/templates/proxy-service.yaml" at <eq .Values.proxy.ser...>: error calling eq: invalid type for comparison
Answer the question
In order to leave comments, you need to log in
Open the template (don't fast the link because it contains the word proxy)
Look at this very line 15
We see that it expects either an empty type or СlusterIP or LoadBalancer.
We change
proxy:
service:
type: "ClusterIP"
clusterIP: "10.233.60.152"
proxy:
service:
type: "LoadBalancer"
loadBalancerIP: "10.233.60.152"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question