Make the agent socket configurable (#114)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user