|
|
|
@ -22,13 +22,9 @@ in {
|
|
|
|
|
imagePullPolicy = "IfNotPresent";
|
|
|
|
|
volumeMounts."/etc/nginx".name = "config";
|
|
|
|
|
volumeMounts."/var/lib/html".name = "static";
|
|
|
|
|
volumeMounts."/var/log/nginx".name = "logs";
|
|
|
|
|
volumeMounts."/var/log/cache".name = "cache";
|
|
|
|
|
};
|
|
|
|
|
volumes.config.configMap.name = "nginx-config";
|
|
|
|
|
volumes.static.configMap.name = "nginx-static";
|
|
|
|
|
volumes.logs.configMap.name = "nginx-logs";
|
|
|
|
|
volumes.cache.configMap.name = "nginx-cache";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|