A
A
Anton2018-10-22 12:33:43
Kubernetes
Anton, 2018-10-22 12:33:43

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"]

When installing it gives an error
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

1 answer(s)
Y
Yuri Yarosh, 2019-08-23
@voidnugget

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"

or
proxy:
  service:
    type: "LoadBalancer"
    loadBalancerIP: "10.233.60.152"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question