Move affinity, annotations and tolerations to oidc and server components
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -48,7 +48,6 @@ Kubernetes: `>=1.21.0-0`
|
||||
|
||||
| Key | Type | Default | Description |
|
||||
|-----|------|---------|-------------|
|
||||
| affinity | object | `{}` | |
|
||||
| agent.image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| agent.image.registry | string | `"ghcr.io"` | |
|
||||
| agent.image.repository | string | `"spiffe/spire-agent"` | |
|
||||
@@ -76,6 +75,7 @@ Kubernetes: `>=1.21.0-0`
|
||||
| oidc.acme.directoryUrl | string | `"https://acme-v02.api.letsencrypt.org/directory"` | |
|
||||
| oidc.acme.emailAddress | string | `"[email protected]"` | |
|
||||
| oidc.acme.tosAccepted | bool | `false` | |
|
||||
| oidc.affinity | object | `{}` | |
|
||||
| oidc.domains[0] | string | `"localhost"` | |
|
||||
| oidc.domains[1] | string | `"spire-oidc.spire"` | |
|
||||
| oidc.domains[2] | string | `"spire-oidc.spire.svc.cluster.local"` | |
|
||||
@@ -93,6 +93,7 @@ Kubernetes: `>=1.21.0-0`
|
||||
| oidc.jwtIssuer | string | `"oidc-discovery.example.org"` | |
|
||||
| oidc.logLevel | string | `"INFO"` | |
|
||||
| oidc.nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
|
||||
| oidc.podAnnotations | object | `{}` | |
|
||||
| oidc.podSecurityContext | object | `{}` | |
|
||||
| oidc.replicaCount | int | `1` | |
|
||||
| oidc.resources | object | `{}` | |
|
||||
@@ -100,7 +101,7 @@ Kubernetes: `>=1.21.0-0`
|
||||
| oidc.service.annotations | object | `{}` | |
|
||||
| oidc.service.port | int | `80` | |
|
||||
| oidc.service.type | string | `"NodePort"` | |
|
||||
| podAnnotations | object | `{}` | |
|
||||
| oidc.tolerations | list | `[]` | |
|
||||
| server.dataStorage.accessMode | string | `"ReadWriteOnce"` | |
|
||||
| server.dataStorage.enabled | bool | `true` | |
|
||||
| server.dataStorage.size | string | `"1Gi"` | |
|
||||
@@ -123,7 +124,6 @@ Kubernetes: `>=1.21.0-0`
|
||||
| spire.clusterName | string | `"example-cluster"` | |
|
||||
| spire.server.logLevel | string | `"info"` | |
|
||||
| spire.trustDomain | string | `"example.org"` | |
|
||||
| tolerations | list | `[]` | |
|
||||
| waitForIt.image.pullPolicy | string | `"IfNotPresent"` | |
|
||||
| waitForIt.image.registry | string | `"gcr.io"` | |
|
||||
| waitForIt.image.repository | string | `"spiffe-io/wait-for-it"` | |
|
||||
|
||||
@@ -15,7 +15,7 @@ spec:
|
||||
{{- include "spire.oidc.selectorLabels" . | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
{{- with .Values.podAnnotations }}
|
||||
{{- with .Values.oidc.podAnnotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
@@ -106,11 +106,11 @@ spec:
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
{{- with .Values.oidc.affinity }}
|
||||
affinity:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
{{- with .Values.oidc.tolerations }}
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -15,7 +15,7 @@ spec:
|
||||
{{- include "spire.server.selectorLabels" . | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
{{- with .Values.podAnnotations }}
|
||||
{{- with .Values.oidc.podAnnotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
@@ -99,11 +99,11 @@ spec:
|
||||
nodeSelector:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
{{- with .Values.server.affinity }}
|
||||
affinity:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.tolerations }}
|
||||
{{- with .Values.server.tolerations }}
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -165,6 +165,11 @@ oidc:
|
||||
# runAsNonRoot: true
|
||||
# runAsUser: 1000
|
||||
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
podAnnotations: {}
|
||||
|
||||
insecureScheme:
|
||||
enabled: false
|
||||
|
||||
@@ -221,9 +226,6 @@ serviceAccount:
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
name: ""
|
||||
|
||||
podAnnotations: {}
|
||||
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
minReplicas: 1
|
||||
@@ -231,10 +233,6 @@ autoscaling:
|
||||
targetCPUUtilizationPercentage: 80
|
||||
# targetMemoryUtilizationPercentage: 80
|
||||
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
# spireSettings
|
||||
|
||||
spire:
|
||||
|
||||
Reference in New Issue
Block a user