Allow to configure resources per object
Signed-off-by: Marco Franssen <[email protected]> Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -53,10 +53,15 @@ Kubernetes: `>=1.21.0-0`
|
|||||||
| agent.image.repository | string | `"gcr.io/spiffe-io/spire-agent"` | |
|
| agent.image.repository | string | `"gcr.io/spiffe-io/spire-agent"` | |
|
||||||
| agent.image.tag | string | `""` | |
|
| agent.image.tag | string | `""` | |
|
||||||
| agent.nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
|
| agent.nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
|
||||||
|
| agent.resources | object | `{}` | |
|
||||||
| autoscaling.enabled | bool | `false` | |
|
| autoscaling.enabled | bool | `false` | |
|
||||||
| autoscaling.maxReplicas | int | `100` | |
|
| autoscaling.maxReplicas | int | `100` | |
|
||||||
| autoscaling.minReplicas | int | `1` | |
|
| autoscaling.minReplicas | int | `1` | |
|
||||||
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
|
| autoscaling.targetCPUUtilizationPercentage | int | `80` | |
|
||||||
|
| csiDriver.image.pullPolicy | string | `"IfNotPresent"` | |
|
||||||
|
| csiDriver.image.repository | string | `"ghcr.io/spiffe/spiffe-csi-driver"` | |
|
||||||
|
| csiDriver.image.tag | string | `"0.2.0"` | |
|
||||||
|
| csiDriver.resources | object | `{}` | |
|
||||||
| fullnameOverride | string | `""` | |
|
| fullnameOverride | string | `""` | |
|
||||||
| imagePullSecrets | list | `[]` | |
|
| imagePullSecrets | list | `[]` | |
|
||||||
| nameOverride | string | `""` | |
|
| nameOverride | string | `""` | |
|
||||||
@@ -79,13 +84,13 @@ Kubernetes: `>=1.21.0-0`
|
|||||||
| oidc.jwtIssuer | string | `"oidc-discovery.example.org"` | |
|
| oidc.jwtIssuer | string | `"oidc-discovery.example.org"` | |
|
||||||
| oidc.logLevel | string | `"INFO"` | |
|
| oidc.logLevel | string | `"INFO"` | |
|
||||||
| oidc.nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
|
| oidc.nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
|
||||||
|
| oidc.resources | object | `{}` | |
|
||||||
| oidc.service.annotations | object | `{}` | |
|
| oidc.service.annotations | object | `{}` | |
|
||||||
| oidc.service.port | int | `80` | |
|
| oidc.service.port | int | `80` | |
|
||||||
| oidc.service.type | string | `"NodePort"` | |
|
| oidc.service.type | string | `"NodePort"` | |
|
||||||
| podAnnotations | object | `{}` | |
|
| podAnnotations | object | `{}` | |
|
||||||
| podSecurityContext | object | `{}` | |
|
| podSecurityContext | object | `{}` | |
|
||||||
| replicaCount | int | `1` | |
|
| replicaCount | int | `1` | |
|
||||||
| resources | object | `{}` | |
|
|
||||||
| securityContext | object | `{}` | |
|
| securityContext | object | `{}` | |
|
||||||
| server.dataStorage.accessMode | string | `"ReadWriteOnce"` | |
|
| server.dataStorage.accessMode | string | `"ReadWriteOnce"` | |
|
||||||
| server.dataStorage.enabled | bool | `true` | |
|
| server.dataStorage.enabled | bool | `true` | |
|
||||||
@@ -95,6 +100,7 @@ Kubernetes: `>=1.21.0-0`
|
|||||||
| server.image.repository | string | `"gcr.io/spiffe-io/spire-server"` | |
|
| server.image.repository | string | `"gcr.io/spiffe-io/spire-server"` | |
|
||||||
| server.image.tag | string | `""` | |
|
| server.image.tag | string | `""` | |
|
||||||
| server.nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
|
| server.nodeSelector."kubernetes.io/arch" | string | `"amd64"` | |
|
||||||
|
| server.resources | object | `{}` | |
|
||||||
| server.service.port | int | `8081` | |
|
| server.service.port | int | `8081` | |
|
||||||
| server.service.type | string | `"ClusterIP"` | |
|
| server.service.type | string | `"ClusterIP"` | |
|
||||||
| serviceAccount.annotations | object | `{}` | |
|
| serviceAccount.annotations | object | `{}` | |
|
||||||
@@ -108,6 +114,7 @@ Kubernetes: `>=1.21.0-0`
|
|||||||
| workloadRegistrar.image.pullPolicy | string | `"IfNotPresent"` | |
|
| workloadRegistrar.image.pullPolicy | string | `"IfNotPresent"` | |
|
||||||
| workloadRegistrar.image.repository | string | `"gcr.io/spiffe-io/k8s-workload-registrar"` | |
|
| workloadRegistrar.image.repository | string | `"gcr.io/spiffe-io/k8s-workload-registrar"` | |
|
||||||
| workloadRegistrar.image.tag | string | `""` | |
|
| workloadRegistrar.image.tag | string | `""` | |
|
||||||
|
| workloadRegistrar.resources | object | `{}` | |
|
||||||
|
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
|
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
|
||||||
|
|||||||
@@ -59,6 +59,8 @@ spec:
|
|||||||
port: 8080
|
port: 8080
|
||||||
initialDelaySeconds: 15
|
initialDelaySeconds: 15
|
||||||
periodSeconds: 60
|
periodSeconds: 60
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.agent.resources | nindent 12 }}
|
||||||
# This is the container which runs the SPIFFE CSI driver.
|
# This is the container which runs the SPIFFE CSI driver.
|
||||||
- name: spiffe-csi-driver
|
- name: spiffe-csi-driver
|
||||||
image: ghcr.io/spiffe/spiffe-csi-driver:nightly
|
image: ghcr.io/spiffe/spiffe-csi-driver:nightly
|
||||||
@@ -90,6 +92,8 @@ spec:
|
|||||||
name: mountpoint-dir
|
name: mountpoint-dir
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: true
|
privileged: true
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.csiDriver.resources | nindent 12 }}
|
||||||
# This container runs the CSI Node Driver Registrar which takes care
|
# This container runs the CSI Node Driver Registrar which takes care
|
||||||
# of all the little details required to register a CSI driver with
|
# of all the little details required to register a CSI driver with
|
||||||
# the kubelet.
|
# the kubelet.
|
||||||
@@ -108,6 +112,8 @@ spec:
|
|||||||
# directory
|
# directory
|
||||||
- name: kubelet-plugin-registration-dir
|
- name: kubelet-plugin-registration-dir
|
||||||
mountPath: /registration
|
mountPath: /registration
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.csiDriver.resources | nindent 12 }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: spire-config
|
- name: spire-config
|
||||||
configMap:
|
configMap:
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ spec:
|
|||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.oidc.resources | nindent 12 }}
|
||||||
{{- if .Values.oidc.insecureScheme.enabled }}
|
{{- if .Values.oidc.insecureScheme.enabled }}
|
||||||
- name: nginx
|
- name: nginx
|
||||||
securityContext:
|
securityContext:
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ spec:
|
|||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.server.resources | nindent 12 }}
|
||||||
- name: {{ .Chart.Name }}-workload-registrar
|
- name: {{ .Chart.Name }}-workload-registrar
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- toYaml .Values.securityContext | nindent 12 }}
|
{{- toYaml .Values.securityContext | nindent 12 }}
|
||||||
|
|||||||
+65
-12
@@ -11,6 +11,18 @@ workloadRegistrar:
|
|||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: ""
|
tag: ""
|
||||||
|
|
||||||
|
resources: {}
|
||||||
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||||
|
# requests:
|
||||||
|
# cpu: 50m
|
||||||
|
# memory: 32Mi
|
||||||
|
# limits:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 64Mi
|
||||||
|
|
||||||
server:
|
server:
|
||||||
image:
|
image:
|
||||||
repository: gcr.io/spiffe-io/spire-server
|
repository: gcr.io/spiffe-io/spire-server
|
||||||
@@ -21,6 +33,18 @@ server:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: amd64
|
kubernetes.io/arch: amd64
|
||||||
|
|
||||||
|
resources: {}
|
||||||
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||||
|
# requests:
|
||||||
|
# cpu: 200m
|
||||||
|
# memory: 256Mi
|
||||||
|
# limits:
|
||||||
|
# cpu: 200m
|
||||||
|
# memory: 256Mi
|
||||||
|
|
||||||
dataStorage:
|
dataStorage:
|
||||||
enabled: true
|
enabled: true
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
@@ -31,6 +55,23 @@ server:
|
|||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 8081
|
port: 8081
|
||||||
|
|
||||||
|
csiDriver:
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/spiffe/spiffe-csi-driver
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: 0.2.0
|
||||||
|
resources: {}
|
||||||
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||||
|
# requests:
|
||||||
|
# cpu: 50m
|
||||||
|
# memory: 32Mi
|
||||||
|
# limits:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 64Mi
|
||||||
|
|
||||||
oidc:
|
oidc:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
@@ -42,6 +83,18 @@ oidc:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: amd64
|
kubernetes.io/arch: amd64
|
||||||
|
|
||||||
|
resources: {}
|
||||||
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||||
|
# requests:
|
||||||
|
# cpu: 50m
|
||||||
|
# memory: 32Mi
|
||||||
|
# limits:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 64Mi
|
||||||
|
|
||||||
logLevel: INFO
|
logLevel: INFO
|
||||||
|
|
||||||
service:
|
service:
|
||||||
@@ -82,6 +135,18 @@ agent:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
kubernetes.io/arch: amd64
|
kubernetes.io/arch: amd64
|
||||||
|
|
||||||
|
resources: {}
|
||||||
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
|
# choice for the user. This also increases chances charts run on environments with little
|
||||||
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
||||||
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
||||||
|
# requests:
|
||||||
|
# cpu: 50m
|
||||||
|
# memory: 64Mi
|
||||||
|
# limits:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
# - name: my-docker-registry
|
# - name: my-docker-registry
|
||||||
# username: my-docker-user
|
# username: my-docker-user
|
||||||
@@ -113,18 +178,6 @@ securityContext: {}
|
|||||||
# runAsNonRoot: true
|
# runAsNonRoot: true
|
||||||
# runAsUser: 1000
|
# runAsUser: 1000
|
||||||
|
|
||||||
resources: {}
|
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
||||||
# limits:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
autoscaling:
|
autoscaling:
|
||||||
enabled: false
|
enabled: false
|
||||||
minReplicas: 1
|
minReplicas: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user