From 60a5a28db7ab569ccfd342caadd44824b64c7c93 Mon Sep 17 00:00:00 2001 From: Bryton Hall Date: Wed, 5 Jul 2023 20:59:52 -0400 Subject: [PATCH] docs: pin deployment example image and fix config This fixes issue #28 in which the pod fails to start due to a duplicate directive; it also pins the nginx version to avoid further breaking changes. --- docs/content/examples/deployment/module.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/content/examples/deployment/module.nix b/docs/content/examples/deployment/module.nix index 81eb15d..34ded79 100644 --- a/docs/content/examples/deployment/module.nix +++ b/docs/content/examples/deployment/module.nix @@ -10,7 +10,7 @@ spec = { securityContext.fsGroup = 1000; containers.nginx = { - image = "nginx"; + image = "nginx:1.25.1"; imagePullPolicy = "IfNotPresent"; volumeMounts = { "/etc/nginx".name = "config"; @@ -28,7 +28,6 @@ configMaps = { nginx-config.data."nginx.conf" = '' user nginx nginx; - daemon off; error_log /dev/stdout info; pid /dev/null; events {}