helm/cosmo/charts/controlplane/templates/activate-organization.yaml [36:80]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          securityContext:
            {{- toYaml .Values.securityContext | nindent 12 }}
          image: "{{ include "controlplane.image" . }}"
          imagePullPolicy: {{ .Values.image.pullPolicy }}
          env:
            - name: REDIS_HOST
              valueFrom:
                configMapKeyRef:
                  name: {{ include "controlplane.fullname" . }}-configmap
                  key: redisHost
            - name: REDIS_PORT
              valueFrom:
                configMapKeyRef:
                  name: {{ include "controlplane.fullname" . }}-configmap
                  key: redisPort
            {{- if .Values.configuration.redisPassword }}
            - name: REDIS_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: {{ include "controlplane.secretName" . }}
                  key: redisPassword
            {{- end }}
            {{- if .Values.configuration.redisTlsCert }}
            - name: REDIS_TLS_CERT
              valueFrom:
                secretKeyRef:
                  name: {{ include "controlplane.secretName" . }}
                  key: redisTlsCert
            {{- end }}
            {{- if .Values.configuration.redisTlsKey }}
            - name: REDIS_TLS_KEY
              valueFrom:
                secretKeyRef:
                  name: {{ include "controlplane.secretName" . }}
                  key: redisTlsKey
            {{- end }}
            {{- if .Values.configuration.redisTlsCa }}
            - name: REDIS_TLS_CA
              valueFrom:
                secretKeyRef:
                  name: {{ include "controlplane.secretName" . }}
                  key: redisTlsCa
            {{- end }}

            - name: ORGANIZATION_SLUG
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



helm/cosmo/charts/controlplane/templates/deactivate-organization.yaml [36:80]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
          securityContext:
            {{- toYaml .Values.securityContext | nindent 12 }}
          image: "{{ include "controlplane.image" . }}"
          imagePullPolicy: {{ .Values.image.pullPolicy }}
          env:
            - name: REDIS_HOST
              valueFrom:
                configMapKeyRef:
                  name: {{ include "controlplane.fullname" . }}-configmap
                  key: redisHost
            - name: REDIS_PORT
              valueFrom:
                configMapKeyRef:
                  name: {{ include "controlplane.fullname" . }}-configmap
                  key: redisPort
            {{- if .Values.configuration.redisPassword }}
            - name: REDIS_PASSWORD
              valueFrom:
                secretKeyRef:
                  name: {{ include "controlplane.secretName" . }}
                  key: redisPassword
            {{- end }}
            {{- if .Values.configuration.redisTlsCert }}
            - name: REDIS_TLS_CERT
              valueFrom:
                secretKeyRef:
                  name: {{ include "controlplane.secretName" . }}
                  key: redisTlsCert
            {{- end }}
            {{- if .Values.configuration.redisTlsKey }}
            - name: REDIS_TLS_KEY
              valueFrom:
                secretKeyRef:
                  name: {{ include "controlplane.secretName" . }}
                  key: redisTlsKey
            {{- end }}
            {{- if .Values.configuration.redisTlsCa }}
            - name: REDIS_TLS_CA
              valueFrom:
                secretKeyRef:
                  name: {{ include "controlplane.secretName" . }}
                  key: redisTlsCa
            {{- end }}

            - name: ORGANIZATION_SLUG
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



