On-premise Kubernetes vcs configuration issue

Hi,

I installing Jetbrains Space to my kubernetes cluster

When i setting vcs service annotation with `metallb.universe.tf/allow-shared-ip` it's makes error.

Error: INSTALLATION FAILED: YAML parse error on space/templates/vcs/services/int.service.yaml: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal string into Go struct field .metadata.annotations of type map[string]string

This below is few figure in my `values.yaml`

vcs:
 replicaCount: 1
 resources:
   requests:
     cpu: "300m"
     memory: "512Mi"
   limits:
     cpu: "300m"
     memory: "512Mi"
 defaultInitContainers:
   resources:
     requests:
       cpu: "100m"
 service:
   ports:
     ssh: "12222"
     restAPI: "19084"
   annotations:
     metallb.universe.tf/allow-shared-ip: “key-to-share-1.2.3.4”

If i remove trailing 2 lines the error is gone

I think that annotation is valid because i use this annotation in other services

So… is the problem is helm package..?

0
1 comment

Temporary solution is edit service configuration after done installation process.

```
kubectl edit service/jb-space-vcs-ext -n kube-space
```

and place to your configuration.

0

Please sign in to leave a comment.