support annotations so oidc can be annotated (#391)
Signed-off-by: Drew Wells <[email protected]> Signed-off-by: Drew Wells <[email protected]> Co-authored-by: Faisal Memon <[email protected]>
This commit is contained in:
co-authored by
Faisal Memon
parent
7d94b105ab
commit
a09e054d04
@@ -156,6 +156,7 @@ Now you can interact with the Spire agent socket from your own application. The
|
|||||||
| spiffe-csi-driver.tolerations | list | `[]` | |
|
| spiffe-csi-driver.tolerations | list | `[]` | |
|
||||||
| spiffe-oidc-discovery-provider.affinity | object | `{}` | |
|
| spiffe-oidc-discovery-provider.affinity | object | `{}` | |
|
||||||
| spiffe-oidc-discovery-provider.agentSocketName | string | `"spire-agent.sock"` | The name of the spire-agent unix socket |
|
| spiffe-oidc-discovery-provider.agentSocketName | string | `"spire-agent.sock"` | The name of the spire-agent unix socket |
|
||||||
|
| spiffe-oidc-discovery-provider.annotations | object | `{}` | Annotations for the deployment |
|
||||||
| spiffe-oidc-discovery-provider.autoscaling.enabled | bool | `false` | |
|
| spiffe-oidc-discovery-provider.autoscaling.enabled | bool | `false` | |
|
||||||
| spiffe-oidc-discovery-provider.autoscaling.maxReplicas | int | `5` | |
|
| spiffe-oidc-discovery-provider.autoscaling.maxReplicas | int | `5` | |
|
||||||
| spiffe-oidc-discovery-provider.autoscaling.minReplicas | int | `1` | |
|
| spiffe-oidc-discovery-provider.autoscaling.minReplicas | int | `1` | |
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ A Helm chart to install the SPIFFE OIDC discovery provider.
|
|||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| affinity | object | `{}` | |
|
| affinity | object | `{}` | |
|
||||||
| agentSocketName | string | `"spire-agent.sock"` | The name of the spire-agent unix socket |
|
| agentSocketName | string | `"spire-agent.sock"` | The name of the spire-agent unix socket |
|
||||||
|
| annotations | object | `{}` | Annotations for the deployment |
|
||||||
| autoscaling.enabled | bool | `false` | |
|
| autoscaling.enabled | bool | `false` | |
|
||||||
| autoscaling.maxReplicas | int | `5` | |
|
| autoscaling.maxReplicas | int | `5` | |
|
||||||
| autoscaling.minReplicas | int | `1` | |
|
| autoscaling.minReplicas | int | `1` | |
|
||||||
|
|||||||
@@ -6,6 +6,10 @@ metadata:
|
|||||||
namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
|
namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "spiffe-oidc-discovery-provider.labels" . | nindent 4 }}
|
{{- include "spiffe-oidc-discovery-provider.labels" . | nindent 4 }}
|
||||||
|
annotations:
|
||||||
|
{{- with .Values.annotations }}
|
||||||
|
{{- toYaml . | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
{{- if not .Values.autoscaling.enabled }}
|
{{- if not .Values.autoscaling.enabled }}
|
||||||
replicas: {{ .Values.replicaCount }}
|
replicas: {{ .Values.replicaCount }}
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ replicaCount: 1
|
|||||||
|
|
||||||
namespaceOverride: ""
|
namespaceOverride: ""
|
||||||
|
|
||||||
|
# -- Annotations for the deployment
|
||||||
|
annotations: {}
|
||||||
|
|
||||||
image:
|
image:
|
||||||
# -- The OCI registry to pull the image from
|
# -- The OCI registry to pull the image from
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
|
|||||||
Reference in New Issue
Block a user