feat(helm): add helm chart

This commit is contained in:
cyrilix committed 2022-10-13 14:20:34 +02:00
1 parent 5cab1cd96d
commit 86bfdd5622
9 files changed
+247 -73

No files matched your search

+97 -35
View File
@@ -1,44 +1,53 @@
# Default values for pod-cleaner.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# -- Override the name of the chart
nameOverride:
replicaCount: 1
# -- Override the expanded name of the chart
fullnameOverride:
image:
repository: docker.io/cyrilix/pod-cleaner
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
# -- Image repository
repository: git.cyrilix.bzh/cyrilix/pod-volume-cleaner
# -- Image tag
# Defaults to appVersion in Chart.yaml if omitted
tag: ""
# -- Image pull policy
pullPolicy: IfNotPresent
# -- Image pull secrets
pullSecrets: []
# - secretName
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
# -- The number of old history to retain to allow rollback
revisionHistoryLimit: 0
serviceAccount:
# Specifies whether a service account should be created
# -- Deployment update strategy.
# Ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
# @default -- See [values.yaml](values.yaml)
updateStrategy:
type: RollingUpdate
rbac:
# -- Create ClusterRoles, ClusterRoleBindings, and ServiceAccount
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
serviceAccount:
# -- Create a ServiceAccount
create: true
# -- The ServiceAccount name
name:
# -- Annotations for the ServiceAccount
annotations: {}
# example.com/annotation: value
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 9098
# -- Service port.
port: 9098
# -- Service type.
type: ClusterIP
# -- Service node port.
# Only used if `service.type` is `NodePort`.
nodePort:
# -- Service annotations.
annotations: { }
resources: {}
@@ -53,14 +62,67 @@ resources: {}
# cpu: 100m
# memory: 128Mi
# -- Additional labels to add to each pod
podLabels: {}
# example.com/label: foo
# -- Additional annotations to add to each pod
podAnnotations: {}
# example.com/annotation: foo
# -- Security context for the pod
podSecurityContext: {}
# -- Security context for the containers
securityContext:
runAsNonRoot: true
privileged: false
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault
# -- Optional priority class to be used for kyverno pods
priorityClassName: ''
# -- Node affinity constraints.
nodeAffinity: {}
# -- Node labels for pod assignment
nodeSelector: {}
# -- List of node taints to tolerate
tolerations: []
affinity: {}
# -- Topology spread constraints.
topologySpreadConstraints: []
podCleaner:
# File to watch to detect orphan pod errors
# -- File to watch to detect orphan pod errors
logfile: /var/log/syslog
# Log level: info,debug
logLevel: info
# -- Log level: info,debug
logLevel: info
podMonitor:
# -- Create a `PodMonitor` to collect Prometheus metrics.
enabled: false
# -- Url path to scrap metrics
path: /metrics
# -- Additional labels
additionalLabels:
# key: value
# -- Interval to scrape metrics
interval: 30s
# -- Timeout if metrics can't be retrieved in given time interval
scrapeTimeout: 25s
# -- Is TLS required for endpoint
secure: false
# -- TLS Configuration for endpoint
tlsConfig: {}