From d23ad0cd8fb7b0ee0669dd006599446030cf5b61 Mon Sep 17 00:00:00 2001 From: Julien Eyraud Date: Tue, 18 Sep 2018 16:05:05 +0200 Subject: [PATCH 1/2] Fix kaniko-build.yaml to use insecure registry --- k8s/kaniko-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/kaniko-build.yaml b/k8s/kaniko-build.yaml index 51eccc49..9756b88d 100644 --- a/k8s/kaniko-build.yaml +++ b/k8s/kaniko-build.yaml @@ -19,7 +19,7 @@ spec: image: gcr.io/kaniko-project/executor:latest args: - "--context=/workspace/dockercoins/rng" - - "--skip-tls-verify" + - "--insecure" - "--destination=registry:5000/rng-kaniko:latest" volumeMounts: - name: workspace From 9a0649e67191fb038d28972c166db61595757721 Mon Sep 17 00:00:00 2001 From: Julien Eyraud Date: Tue, 18 Sep 2018 17:42:10 +0200 Subject: [PATCH 2/2] Change postgresql mount path --- slides/k8s/portworx.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slides/k8s/portworx.md b/slides/k8s/portworx.md index 1086b67b..f959416f 100644 --- a/slides/k8s/portworx.md +++ b/slides/k8s/portworx.md @@ -295,7 +295,7 @@ It should show as `portworx-replicated (default)`. - With a `volumeClaimTemplate` requesting a 1 GB volume -- That volume will be mounted to `/var/lib/postgresql` +- That volume will be mounted to `/var/lib/postgresql/data` - There is another little detail: we enable the `stork` scheduler @@ -328,7 +328,7 @@ spec: - name: postgres image: postgres:10.5 volumeMounts: - - mountPath: /var/lib/postgresql + - mountPath: /var/lib/postgresql/data name: postgres volumeClaimTemplates: - metadata: