Skip to content

Commit

Permalink
fix: added helm repos
Browse files Browse the repository at this point in the history
  • Loading branch information
iDmple committed Jun 28, 2024
1 parent 3af30af commit db12831
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/helm-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
for repo in $REPOS; do
helm repo add $(basename $repo) $repo
done
done
# Update Helm repositories
helm repo update
Expand Down
130 changes: 130 additions & 0 deletions charts/didata/values-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# Default values for didata.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

image:
repository: registry.build.chorus-tre.ch/didata
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "6.2.21"

env:
url: "https://didata.dev.chorus-tre.ch"
router_base: "/"

secret:
env_path_source: "/var/didata/env/didata.env"
env_path_dest: "/var/www/html/.env"

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

serviceAccount:
# Specifies whether a service account should be created
create: true
# Automatically mount a ServiceAccount's API credentials?
automount: 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: {}
podLabels: {}

podSecurityContext: {}
# fsGroup: 2000

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

service:
type: ClusterIP
port: 80 # container port
targetPort: 80 # pod port

ingress:
enabled: true
className: ""
ingressClassName: "nginx"
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
hosts:
- host: didata.dev.chorus-tre.ch
paths:
- path: /
pathType: Prefix
tls:
- secretName: didata-tls
hosts:
- didata.dev.chorus-tre.ch

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

#livenessProbe:
# httpGet:
# path: /
# port: http
#readinessProbe:
# httpGet:
# path: /
# port: http

autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80

# Additional volumes on the output Deployment definition.
volumes:
- name: didata-logs
emptyDir:
persistentVolumeClaim:
claimName: didata-logs-pvc
- name: didata-user-storage
emptyDir:
persistentVolumeClaim:
claimName: didata-user-storage-pvc
- name: didata-env
secret:
secretName: didata-env
optional: false

# Additional volumeMounts on the output Deployment definition.
volumeMounts:
- name: didata-logs
mountPath: "/var/www/html/storage/logs"
readOnly: false
- name: didata-user-storage
mountPath: "/var/www/html/storage/user-storage"
readOnly: false
- name: didata-env
mountPath: "/var/didata/env"
readOnly: true

nodeSelector: {}

tolerations: []

affinity: {}

0 comments on commit db12831

Please sign in to comment.