[Space ON-PREM] How to add custom hosts(/etc/hosts) on Helm or running Pods?

How to add custom hosts(/etc/hosts) on Helm or running Pods?

Is possible add 'hostAliases'  in values.yaml?

https://kubernetes.io/ko/docs/tasks/network/customize-hosts-file-for-pods/

apiVersion: v1
kind: Pod
metadata:
  name: hostaliases-pod
spec:
  restartPolicy: Never
  hostAliases:
  - ip: "127.0.0.1"
    hostnames:
    - "foo.local"
    - "bar.local"
  - ip: "10.1.2.3"
    hostnames:
    - "foo.remote"
    - "bar.remote"

 

Thanks.

1 comment
Comment actions Permalink
Hello! Please refer to `space.altUrls` in values.yaml to add alternative Space URLs: https://www.jetbrains.com/help/space/1640609121968-values-file-xml.html#space-application
0

Please sign in to leave a comment.