-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update/Add
synapse.podSecurityContext
vs synapse.securityContext
…
…and fix how we install extra pip packages (#494) * attempt to fix pip issue * change to pip install --user for synapse * add an ls -hal so we can examine permissions * add more parameters for securityContexts and distinguish the podSecurityContext for synapse * set the exact location we want the pip package * use all available synapse container securityContext * try installing pip packages in an init container with a special volume just for that * remove ls from init container * attempt to add additional paths to existing pythong path * checkw hat the python path is * adding explicit pathing for PYTHONPATH * no special entry point for synapse * change chart bump to minor from patch version * default the pip extra packages to 100mi * add more notes for pvc and only deploy it if s3 is enabled * only mount the extra packages volume if we're installing s3 package
- Loading branch information
Showing
5 changed files
with
120 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
charts/matrix/templates/synapse/extra-pip-packages-pvc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{{- if and .Values.s3.enabled (not .Values.volumes.extraPipPackages.existingClaim) }} | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: {{ include "matrix.fullname" . }}-extra-pip-packages | ||
labels: | ||
{{ include "matrix.labels" . | indent 4}} | ||
{{ include "matrix.synapse.labels" . | indent 4}} | ||
spec: | ||
{{- if .Values.volumes.extraPipPackages.storageClass }} | ||
storageClassName: {{ .Values.volumes.extraPipPackages.storageClass }} | ||
{{- end }} | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: {{ .Values.volumes.extraPipPackages.capacity }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters