Skip to content

Commit

Permalink
Update examples and texts to non-root nginx-hello
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-gougam authored Feb 4, 2020
1 parent ce3271e commit 2d70062
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 46 deletions.
24 changes: 12 additions & 12 deletions examples-of-custom-resources/advanced-routing/cafe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ spec:
spec:
containers:
- name: coffee-v1
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -25,7 +25,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand All @@ -47,9 +47,9 @@ spec:
spec:
containers:
- name: coffee-v2
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -58,7 +58,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand All @@ -80,9 +80,9 @@ spec:
spec:
containers:
- name: tea-post
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -91,7 +91,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand All @@ -113,9 +113,9 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -124,7 +124,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand Down
12 changes: 6 additions & 6 deletions examples-of-custom-resources/basic-configuration/cafe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ spec:
spec:
containers:
- name: coffee
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -25,7 +25,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand All @@ -47,9 +47,9 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -58,7 +58,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ spec:
spec:
containers:
- name: coffee
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -27,7 +27,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -27,7 +27,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand Down
12 changes: 6 additions & 6 deletions examples-of-custom-resources/traffic-splitting/cafe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ spec:
spec:
containers:
- name: coffee-v1
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -25,7 +25,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand All @@ -47,9 +47,9 @@ spec:
spec:
containers:
- name: coffee-v2
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -58,7 +58,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand Down
12 changes: 6 additions & 6 deletions examples/complete-example/cafe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ spec:
spec:
containers:
- name: coffee
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -25,7 +25,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand All @@ -47,9 +47,9 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -59,7 +59,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand Down
6 changes: 3 additions & 3 deletions examples/health-checks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
readinessProbe:
httpGet:
port: 80
port: 8080
path: /healthz/tea
httpHeaders:
- name: header1
Expand Down
12 changes: 6 additions & 6 deletions examples/mergeable-ingress-types/cafe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ spec:
spec:
containers:
- name: coffee
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -25,7 +25,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand All @@ -47,9 +47,9 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
Expand All @@ -59,7 +59,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
Expand Down
2 changes: 1 addition & 1 deletion tests/data/common/backend1-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ spec:
protocol: TCP
name: http
selector:
app: backend1
app: backend1

0 comments on commit 2d70062

Please sign in to comment.