From 04e0bb1acaeeabd49bf54ef2cdf6c0c02c9007a4 Mon Sep 17 00:00:00 2001 From: adrian-salas Date: Wed, 20 Jul 2022 17:42:39 +0200 Subject: [PATCH 1/2] ISSUE-30 - Fix syntax on tcp liveness probe Closes #30 --- helm/probe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/probe.go b/helm/probe.go index bc80e4b..38608a6 100644 --- a/helm/probe.go +++ b/helm/probe.go @@ -10,7 +10,7 @@ import ( type Probe struct { HttpGet *HttpGet `yaml:"httpGet,omitempty"` Exec *Exec `yaml:"exec,omitempty"` - TCP *TCP `yaml:"tcp,omitempty"` + TCP *TCP `yaml:"tcpSocket,omitempty"` Period float64 `yaml:"periodSeconds"` InitialDelay float64 `yaml:"initialDelaySeconds"` Success uint64 `yaml:"successThreshold"` -- 2.49.1 From a2bf9c005ba447a8a325ecd473e9d627b68be6a7 Mon Sep 17 00:00:00 2001 From: Patrice Ferlet Date: Tue, 7 Feb 2023 09:39:12 +0100 Subject: [PATCH 2/2] Fix bracket fixes #50 - the brackets are valid in JSON/YAML --- examples/basic/docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/basic/docker-compose.yaml b/examples/basic/docker-compose.yaml index 3e9b3fc..dd24083 100644 --- a/examples/basic/docker-compose.yaml +++ b/examples/basic/docker-compose.yaml @@ -14,7 +14,7 @@ services: katenary.io/ingress: 80 # DB_HOST is actually a service name katenary.io/mapenv: | - DB_HOST: {{ .Release.Name }}-database + DB_HOST: "{{ .Release.Name }}-database" depends_on: - database -- 2.49.1