Remove option to choose different agent socket path

Resolves #19

Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-18 13:23:36 +01:00
parent 50846ebe9a
commit 99d32050ba
13 changed files with 16 additions and 19 deletions
@@ -11,7 +11,6 @@ A Helm chart to install the SPIFFE OIDC discovery provider.
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| agentSocketPath | string | `"/run/spire/agent-sockets/spire-agent.sock"` | |
| autoscaling.enabled | bool | `false` | |
| autoscaling.maxReplicas | int | `5` | |
| autoscaling.minReplicas | int | `1` | |
@@ -30,7 +30,7 @@ data:
{{- end }}
workload_api {
socket_path = "/spiffe-workload-api/{{ splitList "/" .Values.agentSocketPath | last }}"
socket_path = "/spiffe-workload-api/{{ include "spire.agent-socket-path" . | splitList "/" | last }}"
trust_domain = "{{ .Values.trustDomain }}"
}
@@ -109,5 +109,4 @@ tolerations: []
affinity: {}
agentSocketPath: /run/spire/agent-sockets/spire-agent.sock
trustDomain: "example.org"