mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
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:
parent
e77a3898de
commit
60a5a28db7
1 changed files with 1 additions and 2 deletions
|
|
@ -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 {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue