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.
This commit is contained in:
Bryton Hall 2023-07-05 20:59:52 -04:00
parent e77a3898de
commit 60a5a28db7

View file

@ -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 {}