Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Use the Release.Namespace in the default template for the service host
Browse files Browse the repository at this point in the history
  • Loading branch information
Blagoj Atanasovski authored and atanasovskib committed Apr 9, 2020
1 parent 87be28e commit 70faa3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helm-chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ helm install --name my-release -f myvalues.yaml .
| `replicaCount` | Number of pods for the connector | `1` |
| `connection.user` | Username to connect to TimescaleDB with | `postgres` |
| `password.secretTemplate` | The template for generating the name of a secret object which will hold the db password | `{{ .Release.Name }}-timescaledb-passwords` |
| `host.nameTemplate` | The template for generating the hostname of the db | `{{ .Release.Name }}.default.svc.cluster.local` |
| `host.nameTemplate` | The template for generating the hostname of the db | `{{ .Release.Name }}.{{ .Release.Namespace}}.svc.cluster.local` |
| `port` | Port the db listens to | `5432` |
| `service.port` | Port the connector pods will accept connections on | `9201` |
| `service.loadBalancer.enabled` | If enabled will create an LB for the connector, ClusterIP otherwise | `true` |
Expand Down
4 changes: 2 additions & 2 deletions helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ connection:
# nameTemplate: "{{ already-deployed-timescale.default.svc.cluster.local }}"
# for a host name of a timescaledb instance
# deployed in the same release (without a cluster override) set:
# nameTemplate: "{{ .Release.Name }}".default.svc.cluster.local
nameTemplate: "{{ .Release.Name }}.default.svc.cluster.local"
# nameTemplate: {{ .Release.Name }}.{{ .Release.Namespace }}.svc.cluster.local
nameTemplate: "{{ .Release.Name }}.{{ .Release.Namespace }}.svc.cluster.local"
port: 5432

# settings for the service to be created that will expose
Expand Down

0 comments on commit 70faa3f

Please sign in to comment.