From 51becb8c6f2ee5617473ef774b22e725d86be2c1 Mon Sep 17 00:00:00 2001 From: donal Date: Tue, 7 Jul 2020 11:46:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B2=20FIX=20-=20broken=20selector=20on?= =?UTF-8?q?=20service=20and=20updated=20nginx=20image=20=F0=9F=8C=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- basic-nginx/.openshift/builds/template.yml | 2 +- basic-nginx/.openshift/deployment/template.yml | 1 - basic-nginx/nginx.conf | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/basic-nginx/.openshift/builds/template.yml b/basic-nginx/.openshift/builds/template.yml index 9ce836c7..3a88ce56 100644 --- a/basic-nginx/.openshift/builds/template.yml +++ b/basic-nginx/.openshift/builds/template.yml @@ -126,4 +126,4 @@ parameters: - description: Image stream tag for the image you'd like to use to build the application name: IMAGE_STREAM_TAG_NAME required: true - value: nginx:1.12 + value: nginx:1.14 diff --git a/basic-nginx/.openshift/deployment/template.yml b/basic-nginx/.openshift/deployment/template.yml index ef096a2c..f7454dde 100644 --- a/basic-nginx/.openshift/deployment/template.yml +++ b/basic-nginx/.openshift/deployment/template.yml @@ -110,7 +110,6 @@ objects: protocol: TCP targetPort: 8080 selector: - app: ${APPLICATION_NAME} deploymentConfig: ${APPLICATION_NAME} - apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding diff --git a/basic-nginx/nginx.conf b/basic-nginx/nginx.conf index d21e55f1..70b548a7 100644 --- a/basic-nginx/nginx.conf +++ b/basic-nginx/nginx.conf @@ -5,10 +5,10 @@ worker_processes auto; error_log stderr; -pid /var/opt/rh/rh-nginx112/run/nginx/nginx.pid; +pid /var/opt/rh/rh-nginx114/run/nginx/nginx.pid; -# Load dynamic modules. See /opt/rh/rh-nginx112/root/usr/share/doc/README.dynamic. -include /opt/rh/rh-nginx112/root/usr/share/nginx/modules/*.conf; +# Load dynamic modules. See /opt/rh/rh-nginx114/root/usr/share/doc/README.dynamic. +include /opt/rh/rh-nginx114/root/usr/share/nginx/modules/*.conf; events { worker_connections 1024; @@ -25,7 +25,7 @@ http { keepalive_timeout 65; types_hash_max_size 2048; - include /etc/opt/rh/rh-nginx112/nginx/mime.types; + include /etc/opt/rh/rh-nginx114/nginx/mime.types; default_type application/octet-stream; # Load modular configuration files from the /etc/nginx/conf.d directory.