Skip to content

Commit

Permalink
馃尣 FIX - broken selector on service and updated nginx image 馃尦 (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
springdo committed Oct 13, 2020
1 parent 6f786dc commit b9c8a1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion basic-nginx/.openshift/builds/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion basic-nginx/.openshift/deployment/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ objects:
protocol: TCP
targetPort: 8080
selector:
app: ${APPLICATION_NAME}
deploymentConfig: ${APPLICATION_NAME}
- apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down
8 changes: 4 additions & 4 deletions basic-nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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.
Expand Down

0 comments on commit b9c8a1f

Please sign in to comment.