diff --git a/content/3.defense-systems/butters_gp57r.md b/content/3.defense-systems/butters_gp57r.md index df6c786cd0d2551e154539bd821fd50cce79c69c..12c3f0dc7be564dba796eb0b7ea5e4af3dc643ec 100644 --- a/content/3.defense-systems/butters_gp57r.md +++ b/content/3.defense-systems/butters_gp57r.md @@ -12,7 +12,13 @@ relevantAbstracts: # Butters_gp57r -## To do +## Description + +The Butters_gp57r system is encoded in the Butters mycobacterium prophage and has been shown to inhibit rival phage replication [YP_009304936.1](https://ncbi.nlm.nih.gov/protein/YP_009304936.1). + +## Molecular Mechanism + +Butters_gp57r is activated post-DNA injeciton and inhibits island3 and other phage DNA amplification. This system may inhibit heterotypic phage infeciton with the HEPN domain [YP_009304936.1](https://ncbi.nlm.nih.gov/protein/YP_009304936.1). ## Example of genomic structure diff --git a/deploy/df-wiki/templates/deployment.yaml b/deploy/df-wiki/templates/deployment.yaml index fbb5031e1d9fa1777e2766b292edf0547643f0a5..141405d48a711bd88be0f14273f40f173e52c6d8 100644 --- a/deploy/df-wiki/templates/deployment.yaml +++ b/deploy/df-wiki/templates/deployment.yaml @@ -29,6 +29,14 @@ spec: serviceAccountName: {{ include "df-wiki.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} + initContainers: + - name: init-directory + image: busybox + command: ["/bin/sh", "-c"] + args: ["mkdir -p /struct/wiki", chown -R 101:101 /struct/wiki"] + volumeMounts: + - name: structure-data-pvc + mountPath: /struct containers: - name: {{ .Chart.Name }} securityContext: @@ -39,23 +47,24 @@ spec: - name: http containerPort: {{ .Values.service.port }} protocol: TCP - livenessProbe: - httpGet: - path: /wiki/ - port: http - readinessProbe: - httpGet: - path: /wiki/ - port: http + # livenessProbe: + # httpGet: + # path: / + # port: http + # readinessProbe: + # httpGet: + # path: / + # port: http resources: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: - mountPath: /tmp name: tmp - name: nginx-config - mountPath: /etc/nginx/conf.d/ + mountPath: /etc/nginx/conf.d - name: structure-data-pvc mountPath: /usr/share/nginx/html + subPath: wiki - name: website-pvc mountPath: /website diff --git a/deploy/df-wiki/templates/pvc-structure.yaml b/deploy/df-wiki/templates/pvc-structure.yaml index 29334d59b0efa7867b171bd746ac6a536615d267..b0cf478c58d95a711c382f560ee7185217c1ba1a 100644 --- a/deploy/df-wiki/templates/pvc-structure.yaml +++ b/deploy/df-wiki/templates/pvc-structure.yaml @@ -10,5 +10,5 @@ spec: resources: requests: storage: 35Gi - storageClassName: isilon + storageClassName: ceph-fs volumeMode: Filesystem \ No newline at end of file diff --git a/deploy/df-wiki/templates/pvc-website.yaml b/deploy/df-wiki/templates/pvc-website.yaml index c24b46572977703b61c047cbada3a3a4dae0852b..35c774dc90c874163117ef54d09fb7e8f4493110 100644 --- a/deploy/df-wiki/templates/pvc-website.yaml +++ b/deploy/df-wiki/templates/pvc-website.yaml @@ -10,6 +10,5 @@ spec: resources: requests: storage: 800Mi - # storageClassName: {{ .Values.storageClassName }} - storageClassName: isilon + storageClassName: ceph-fs volumeMode: Filesystem \ No newline at end of file diff --git a/deploy/df-wiki/values.development.yaml b/deploy/df-wiki/values.development.yaml index 9606a1e1eaffc1e2ed7593792fa96b416ac02c8a..f37040bf99e6ef1205b3efb2a207911f125400a5 100644 --- a/deploy/df-wiki/values.development.yaml +++ b/deploy/df-wiki/values.development.yaml @@ -23,6 +23,3 @@ resources: autoscaling: enabled: false - - -storageClassName: isilon \ No newline at end of file diff --git a/deploy/df-wiki/values.yaml b/deploy/df-wiki/values.yaml index 5a8096dc40978373460562251148a750208ec8ba..b979c7e95444157026a0836846fa76f948554a10 100644 --- a/deploy/df-wiki/values.yaml +++ b/deploy/df-wiki/values.yaml @@ -28,8 +28,7 @@ serviceAccount: podAnnotations: {} podSecurityContext: - {} - # fsGroup: 2000 + fsGroup: 101 securityContext: runAsNonRoot: true diff --git a/deploy/meilisearch/values.development.yaml b/deploy/meilisearch/values.development.yaml index 2d19040e8755916814dee3d7ec5a163074cb2c6f..8689d93129ff81c0e933a19d9ac86e09e49c2cae 100644 --- a/deploy/meilisearch/values.development.yaml +++ b/deploy/meilisearch/values.development.yaml @@ -8,7 +8,7 @@ meilisearch: nginx.ingress.kubernetes.io/proxy-body-size: 100m persistence: enabled: true - storageClass: isilon + storageClass: ceph-block size: "4Gi" resources: limits: