Skip to content

Commit

Permalink
docs: pin deployment example image and fix config
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hall committed Jul 6, 2023
1 parent e77a389 commit 60a5a28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/content/examples/deployment/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
spec = {
securityContext.fsGroup = 1000;
containers.nginx = {
image = "nginx";
image = "nginx:1.25.1";
imagePullPolicy = "IfNotPresent";
volumeMounts = {
"/etc/nginx".name = "config";
Expand All @@ -28,7 +28,6 @@
configMaps = {
nginx-config.data."nginx.conf" = ''
user nginx nginx;
daemon off;
error_log /dev/stdout info;
pid /dev/null;
events {}
Expand Down

0 comments on commit 60a5a28

Please sign in to comment.