From 06bfd2429b34390b0601cb457340998148572221 Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Thu, 26 Jan 2023 00:17:07 -0800 Subject: [PATCH] Update gemma helm chart with auto reload --- .github/values.yaml | 87 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 71 insertions(+), 16 deletions(-) diff --git a/.github/values.yaml b/.github/values.yaml index 0cbbc053f..beb0cff5b 100644 --- a/.github/values.yaml +++ b/.github/values.yaml @@ -1,36 +1,91 @@ +##### +# INFISICAL K8 DEFAULT VALUES FILE +# PLEASE REPLACE VALUES/EDIT AS REQUIRED +##### + +nameOverride: "" + frontend: - replicaCount: 3 + name: frontend + podAnnotations: + secrets.infisical.com/auto-reload: "true" + replicaCount: 2 image: - repository: - pullPolicy: Always + repository: infisical/frontend + pullPolicy: IfNotPresent tag: "latest" - kubeSecretRef: managed-secret-frontend + # kubeSecretRef: some-kube-secret-name + service: + # type of the frontend service + type: ClusterIP + # define the nodePort if service type is NodePort + # nodePort: + annotations: {} backend: - replicaCount: 3 + name: backend + podAnnotations: + secrets.infisical.com/auto-reload: "true" + replicaCount: 2 image: - repository: - pullPolicy: Always + repository: infisical/backend + pullPolicy: IfNotPresent tag: "latest" - kubeSecretRef: managed-backend-secret + # kubeSecretRef: some-kube-secret-name + service: + annotations: {} + +mongodb: + name: mongodb + podAnnotations: {} + image: + repository: mongo + pullPolicy: IfNotPresent + tag: "latest" + service: + annotations: {} + +# By default the backend will be connected to a Mongo instance in the cluster. +# However, it is recommended to add a managed document DB connection string because the DB instance in the cluster does not have persistence yet ( data will be deleted on next deploy). +# Learn about connection string type here https://www.mongodb.com/docs/manual/reference/connection-string/ +mongodbConnection: {} + # externalMongoDBConnectionString: <> ingress: enabled: true annotations: kubernetes.io/ingress.class: "nginx" - cert-manager.io/cluster-issuer: "letsencrypt-prod" - hostName: gamma.infisical.com + hostName: gamma.infisical.com # replace with your domain frontend: path: / pathType: Prefix backend: path: /api pathType: Prefix - tls: - - secretName: echo-tls - hosts: - - gamma.infisical.com + tls: [] -backendEnvironmentVariables: -frontendEnvironmentVariables: \ No newline at end of file +## Complete Ingress example +# ingress: +# enabled: true +# annotations: +# kubernetes.io/ingress.class: "nginx" +# cert-manager.io/issuer: letsencrypt-nginx +# hostName: k8.infisical.com +# frontend: +# path: / +# pathType: Prefix +# backend: +# path: /api +# pathType: Prefix +# tls: +# - secretName: letsencrypt-nginx +# hosts: +# - k8.infisical.com + +### +### YOU MUST FILL IN ALL SECRETS BELOW +### +backendEnvironmentVariables: {} + +frontendEnvironmentVariables: {}