ansible/roles/playmaker/defaults/main.yaml
2021-01-09 20:54:42 +03:00

77 lines
2.0 KiB
YAML

playmaker_enabled: true
playmaker_publish: false
playmaker_default_values:
replicaCount: 1
image:
repository: "{{ docker_registry }}/playmaker"
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "0.6.4"
imagePullSecrets: []
nameOverride: ""
fullnameOverride: "playmaker"
#env:
# - name: LANG_LOCALE
# value: "en_US"
# - name: LANG_TIMEZONE
# value: "Europe/Moscow"
# - name: DEVICE_CODE
# value: "gemini"
# - name: CRONTAB_STRING
# value: "0 2 * * *"
#credentials: |
# [google]
# email = YOUR_GOOGLE_EMAIL
# password = YOUR_GOOGLE_EMAIL_PASSWORD
serviceAccount:
# Specifies whether a service account should be created
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: ""
podAnnotations: {}
podSecurityContext:
fsGroup: 999
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: "{{ external_ingress_class if playmaker_publish else internal_ingress_class }}"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
cert-manager.io/acme-dns01-provider: "rfc2136"
cert-manager.io/acme-challenge-type: "dns01"
kubernetes.io/tls-acme: "true"
hosts:
- host: playmaker.{{ domain }}
paths: ["/"]
tls:
- secretName: playmaker.{{ domain }}-tls
hosts:
- playmaker.{{ domain }}
persistence:
enabled: true
storageClass: "{{ playmaker_storage | default('nfs-hdd') }}"
size: "{{ playmaker_size | default('20Gi') }}"
accessMode: "{{ playmaker_storage_mode | default('ReadWriteMany') }}"