Make the agent socket configurable (#114)

This commit is contained in:
kfox1111
2023-03-13 20:35:27 +01:00
committed by GitHub
parent f3a81ad78d
commit 661000a29a
13 changed files with 22 additions and 9 deletions
@@ -15,6 +15,7 @@ A Helm chart to install the SPIFFE OIDC discovery provider.
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| agentSocket | string | `"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/{{ include "spire.agent-socket-path" . | splitList "/" | last }}"
socket_path = "/spiffe-workload-api/{{ .Values.agentSocket }}"
trust_domain = "{{ .Values.trustDomain }}"
}
@@ -2,6 +2,8 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
agentSocket: spire-agent.sock
replicaCount: 1
image: