Skip to content

Commit

Permalink
Merge pull request #2 from redhat-cop/master
Browse files Browse the repository at this point in the history
🌲 FIX - broken selector on service and updated nginx image 🌳 (redhat-cop#148)
  • Loading branch information
joecharles33 authored Oct 13, 2020
2 parents 1c3418e + b9c8a1f commit 49f4d94
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 49f4d94

Please sign in to comment.