Skip to content

Commit

Permalink
fix(customCa): Always mount CA certificate volume (#133)
Browse files Browse the repository at this point in the history
* Always mount CA certificates volume

* Upgrade Readme

---------

Co-authored-by: Marcin Jasion <mjasion@users.noreply.github.com>
  • Loading branch information
jesper7 and mjasion authored Jul 21, 2023
1 parent d6494e7 commit 7ca3767
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion charts/studio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.12
version: 0.2.13

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/studio/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# studio

![Version: 0.2.12](https://img.shields.io/badge/Version-0.2.12-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.9.1](https://img.shields.io/badge/AppVersion-v2.9.1-informational?style=flat-square)
![Version: 0.2.13](https://img.shields.io/badge/Version-0.2.13-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.9.1](https://img.shields.io/badge/AppVersion-v2.9.1-informational?style=flat-square)

A Helm chart for Kubernetes

Expand Down
4 changes: 0 additions & 4 deletions charts/studio/templates/deployment-studio-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@ spec:
periodSeconds: 10
failureThreshold: 5
timeoutSeconds: 60
{{- if .Values.global.customCaCert }}
volumeMounts:
- name: studio-ca-certificates
mountPath: /usr/local/share/ca-certificates
{{- end }}
resources:
{{- toYaml .Values.studioBackend.resources | nindent 12 }}
env:
Expand All @@ -123,12 +121,10 @@ spec:
- secretRef:
name: {{ .Values.studioBackend.envFromSecret }}
{{- end }}
{{- if .Values.global.customCaCert }}
volumes:
- name: studio-ca-certificates
configMap:
name: studio-ca-certificates
{{- end }}
{{- with .Values.studioBackend.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 0 additions & 4 deletions charts/studio/templates/deployment-studio-beat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,13 @@ spec:
- secretRef:
name: {{ .Values.studioBeat.envFromSecret }}
{{- end }}
{{- if .Values.global.customCaCert }}
volumeMounts:
- name: studio-ca-certificates
mountPath: /usr/local/share/ca-certificates
{{- end }}
{{- if .Values.global.customCaCert }}
volumes:
- name: studio-ca-certificates
configMap:
name: studio-ca-certificates
{{- end }}
{{- with .Values.studioBeat.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 0 additions & 4 deletions charts/studio/templates/deployment-studio-ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,15 @@ spec:
- secretRef:
name: {{ .Values.studioUi.envFromSecret }}
{{- end }}
{{- if .Values.global.customCaCert }}
volumeMounts:
- name: studio-ca-certificates
mountPath: /usr/local/share/ca-certificates
{{- end }}
resources:
{{- toYaml .Values.studioUi.resources | nindent 12 }}
{{- if .Values.global.customCaCert }}
volumes:
- name: studio-ca-certificates
configMap:
name: studio-ca-certificates
{{- end }}
{{- with .Values.studioUi.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 0 additions & 4 deletions charts/studio/templates/deployment-studio-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,15 @@ spec:
volumeMounts:
- name: blobvault
mountPath: /blobvault
{{- if .Values.global.customCaCert }}
- name: studio-ca-certificates
mountPath: /usr/local/share/ca-certificates
{{- end }}
volumes:
- name: blobvault
persistentVolumeClaim:
claimName: blobvault
{{- if .Values.global.customCaCert }}
- name: studio-ca-certificates
configMap:
name: studio-ca-certificates
{{- end }}
{{- with .Values.studioWorker.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 7ca3767

Please sign in to comment.