Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update appVersion to 0.15.1 #494

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/platform/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 0.2.0
maintainers:
- name: mnorbury
email: [email protected]
appVersion: 0.14.2
appVersion: 0.15.1
dependencies:
- name: redis
version: ~20.2.1
Expand Down
12 changes: 10 additions & 2 deletions charts/platform/templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,26 @@ spec:
secretKeyRef:
name: {{ include "platform.fullName" . }}-secrets
key: postgresqlDSN
- name: CQAPI_LOCAL_AES_KEY_FILE
value: /shared/encrypted_aes_key.bin
- name: CQAPI_LOCAL_JWT_PRIVATE_KEY_FILE
value: /etc/jwt/jwt-private-key.pem
volumeMounts:
- name: jwt-private-key
mountPath: /etc/jwt/jwt-private-key.pem
subPath: jwtPrivateKey
readOnly: true
- name: shared-data
mountPath: /shared
containers:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.containerSecurityContext | nindent 12 }}
image: "{{ include "platform.image" . }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: HOSTNAME
value: 0.0.0.0
- name: CQAPI_LOCAL_AES_KEY_FILE
value: /shared/encrypted_aes_key.bin
{{- if .Values.activationKey }}
- name: CQAPI_LOCAL_ACTIVATION_KEY
valueFrom:
Expand Down Expand Up @@ -102,13 +106,17 @@ spec:
mountPath: /etc/jwt/jwt-private-key.pem
subPath: jwtPrivateKey
readOnly: true
- name: shared-data
mountPath: /shared
volumes:
{{- with .Values.volumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
- name: jwt-private-key
secret:
secretName: {{ include "platform.fullName" . }}-secrets
- name: shared-data
emptyDir: {}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
3 changes: 1 addition & 2 deletions charts/platform/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ data:
{{- end }}
postgresqlDSN: {{ required "A valid postgres DSN is required" .Values.externalDependencies.postgresql_dsn | b64enc }}
clickhouseDSN: {{ required "A valid clickhouse DSN is required" .Values.externalDependencies.clickhouse_dsn | b64enc }}
jwtPrivateKey: |
{{ genPrivateKey "rsa" | b64enc }}
jwtPrivateKey: {{ genPrivateKey "rsa" | b64enc }}
Loading