From 02b6c240c9b896d448b5fef3519413a04497f5a9 Mon Sep 17 00:00:00 2001 From: Jagger De Leo Date: Mon, 20 Dec 2021 12:07:16 -0500 Subject: [PATCH 1/3] Add .who files used by Compute v0.1.1 --- templates/scc-docker/.who | 0 .../scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 templates/scc-docker/.who diff --git a/templates/scc-docker/.who b/templates/scc-docker/.who new file mode 100644 index 00000000..e69de29b diff --git a/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl b/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl index 6315e740..075b96c9 100644 --- a/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl +++ b/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl @@ -75,7 +75,7 @@ spec: initContainers: - name: scc-init image: busybox - command: ["/bin/chmod","-R","777", "/data"] + command: ["/bin/touch", "/data/.who"] volumeMounts: - name: controlplane-storage mountPath: /data From ebe5ca999c5d8ad9f781e817c413ee37bbecdf38 Mon Sep 17 00:00:00 2001 From: Jagger De Leo Date: Mon, 20 Dec 2021 14:45:00 -0500 Subject: [PATCH 2/3] Revert to chmod technique, but with 770 --- .../scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl b/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl index 075b96c9..97f456b9 100644 --- a/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl +++ b/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl @@ -75,7 +75,7 @@ spec: initContainers: - name: scc-init image: busybox - command: ["/bin/touch", "/data/.who"] + command: ["/bin/chmod","-R","770", "/data"] volumeMounts: - name: controlplane-storage mountPath: /data From f36a75734221715193b7f7fa27588df919b38fcf Mon Sep 17 00:00:00 2001 From: Jagger De Leo Date: Tue, 21 Dec 2021 14:26:10 -0500 Subject: [PATCH 3/3] Revert back to 777 --- .../scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl b/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl index 97f456b9..6315e740 100644 --- a/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl +++ b/templates/scc-k8s/.suborbital/scc-controlplane-deployment.yaml.tmpl @@ -75,7 +75,7 @@ spec: initContainers: - name: scc-init image: busybox - command: ["/bin/chmod","-R","770", "/data"] + command: ["/bin/chmod","-R","777", "/data"] volumeMounts: - name: controlplane-storage mountPath: /data