# Default values for wwwsusecom.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 2

image_pull:
  repository: 574753272649.dkr.ecr.eu-central-1.amazonaws.com/cvesusecom-pull
  pullPolicy: IfNotPresent
  # Overrides the image tag whose default is the chart appVersion.
  tag: 86f6851f7471a60a9521adfdf070cf648fecd7e9

imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""


podAnnotations: {}


affinity: {}
  # nodeAffinity:
  #   requiredDuringSchedulingIgnoredDuringExecution:
  #     nodeSelectorTerms:
  #     - matchExpressions:
  #       - key: failure-domain.beta.kubernetes.io/zone
  #         operator: In
  #         values: ["eu-central-1a", "eu-central-1b"]


restartPolicy_pull: OnFailure
backoffLimit: 4

mountPath_pull: /data/repo

pvcName: prod-wwwsusecom-efs

secret:
  pull_user:
  pull_token:
  pull_pwd_script:
  git_ref:
  envData:
  envProdData:
  apache_uid: 482
  host:

secretNamePull: pull-secret-content

securityContextPull: {}
  # runAsUser: 482
  # runAsGroup: 482
  # fsGroup: 482

environment_pull:
  - name: SUSE_HOST
    valueFrom:
      secretKeyRef:
        name: pull-secret-content
        key: host
  - name: TOKEN
    valueFrom:
      secretKeyRef:
        name: pull-secret-content
        key: token
  - name: UID
    valueFrom:
      secretKeyRef:
        name: pull-secret-content
        key: apache_uid
  - name: GIT_USR
    valueFrom:
      secretKeyRef:
        name: pull-secret-content
        key: user
  - name: GIT_ASKPASS
    valueFrom:
      secretKeyRef:
        name: pull-secret-content
        key: pull_pwd_script
  - name: REF
    valueFrom:
      secretKeyRef:
        name: pull-secret-content
        key: git_ref
  - name: HOME
    value: "/home/wwwrun"

job:
  annotations:
    "helm.sh/hook": pre-install,pre-upgrade
    "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
    "helm.sh/hook-weight": "3"

secrets:
  annotations:
    "helm.sh/hook": pre-install,pre-upgrade
    "helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
    "helm.sh/hook-weight": "2"

global:
  environment_pull: []

securityContext: {}
  # capabilities:
  #   drop:
  #   - ALL
  # readOnlyRootFilesystem: true
  # runAsNonRoot: true
  # runAsUser: 1000

service:
  type: ClusterIP
  port: 80

resources_pull:
  # 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: 1000m
    memory: 1200Mi
  requests:
    cpu: 600m
    memory: 600Mi

nodeSelector: {}

tolerations: []
