Commit b591d400 authored by Andres Anaya Amariels's avatar Andres Anaya Amariels 🚀
Browse files

Add LOG_LEVEL environment variable to celery-beat and celery-worker deployments

parent ca25d691
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -42,6 +42,8 @@ spec:
              value: {{ quote .Values.env.redisHost }}
              value: {{ quote .Values.env.redisHost }}
            - name: REDIS_PORT
            - name: REDIS_PORT
              value: {{ quote .Values.env.redisPort }}
              value: {{ quote .Values.env.redisPort }}
            - name: LOG_LEVEL
              value: {{ quote .Values.env.logLevel }}
          livenessProbe:
          livenessProbe:
            {{- toYaml .Values.livenessProbe | nindent 12 }}
            {{- toYaml .Values.livenessProbe | nindent 12 }}
          readinessProbe:
          readinessProbe:
+1 −0
Original line number Original line Diff line number Diff line
@@ -20,6 +20,7 @@ env:
  redisPort: 6379
  redisPort: 6379
  mongoInitdbRootUsername: root
  mongoInitdbRootUsername: root
  mongoInitdbRootPassword: example
  mongoInitdbRootPassword: example
  logLevel: DEBUG


serviceAccount:
serviceAccount:
  # Specifies whether a service account should be created
  # Specifies whether a service account should be created
+2 −0
Original line number Original line Diff line number Diff line
@@ -42,6 +42,8 @@ spec:
              value: {{ quote .Values.env.redisHost }}
              value: {{ quote .Values.env.redisHost }}
            - name: REDIS_PORT
            - name: REDIS_PORT
              value: {{ quote .Values.env.redisPort }}
              value: {{ quote .Values.env.redisPort }}
            - name: LOG_LEVEL
              value: {{ quote .Values.env.logLevel }}              
          livenessProbe:
          livenessProbe:
            {{- toYaml .Values.livenessProbe | nindent 12 }}
            {{- toYaml .Values.livenessProbe | nindent 12 }}
          readinessProbe:
          readinessProbe:
+2 −1
Original line number Original line Diff line number Diff line
@@ -19,7 +19,8 @@ env:
  redisHost: redis
  redisHost: redis
  redisPort: 6379
  redisPort: 6379
  mongoInitdbRootUsername: root
  mongoInitdbRootUsername: root
  mongoInitdbRootPassword: example
  mongoInitdbRootPassword: 
  logLevel: DEBUG


serviceAccount:
serviceAccount:
  # Specifies whether a service account should be created
  # Specifies whether a service account should be created