helm_website/values.yaml

74 lines
1.4 KiB
YAML
Raw Normal View History

2024-11-14 08:13:40 +01:00
replicaCount: 1
image:
repository: nginx
pullPolicy: IfNotPresent
tag: "latest"
puller:
image:
repository: nginx
pullPolicy: IfNotPresent
tag: "latest"
2024-11-14 08:13:40 +01:00
service:
type: ClusterIP
port: 80
ingress:
enabled: true
className: nginx
hosts:
- host: chart-example.local
paths:
- path: /
pathType: Prefix
persistence:
enabled: true
accessMode: ReadWriteOnce
size: 1Gi
storageClass: ""
ingress:
tls:
enabled: true
secretName: chart-example-tls
hosts:
- chart-example.local
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
2024-11-14 08:25:23 +01:00
# Environment variables to be passed to the container
env:
# Direct environment variables
plain:
- name: APP_NAME
value: "my-app"
- name: PORT
value: "8080"
# Environment variables from ConfigMaps
configMapRefs:
- name: app-config # Reference an existing ConfigMap
optional: true # Make it optional
configMapKeys:
- name: CONFIG_KEY
configMapName: app-config
key: config.key
# Environment variables from Secrets
secretRefs:
- name: app-secrets # Reference an existing Secret
optional: true # Make it optional
secretKeys:
- name: API_KEY
secretName: app-secrets
key: api.key