Skip to content

Commit

Permalink
bump nginx version to 1.20-alpine;
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Maute <stefan.maute@bosch.io>
  • Loading branch information
Stefan Maute committed May 7, 2021
1 parent c0d472d commit f486322
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 3 deletions.
Expand Up @@ -4,7 +4,6 @@
# bind the default service account in the `default` namespace
# to that role.
#

kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand All @@ -13,7 +12,9 @@ rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["pods"]
verbs: ["get", "watch", "list"]

---

kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
Expand Down
Expand Up @@ -14,6 +14,7 @@ spec:
role: mongodb

---

apiVersion: apps/v1
kind: StatefulSet
metadata:
Expand Down
Expand Up @@ -22,6 +22,7 @@ spec:
- $HOSTNAME

---

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
Expand Down
@@ -1,3 +1,4 @@
---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
Expand Down
2 changes: 2 additions & 0 deletions deployment/kubernetes/deploymentFiles/mongodb/mongodb.yaml
Expand Up @@ -10,7 +10,9 @@ spec:
protocol: TCP
selector:
service: mongodb

---

apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
5 changes: 4 additions & 1 deletion deployment/kubernetes/deploymentFiles/nginx/nginx.yaml
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand All @@ -10,7 +11,9 @@ spec:
- port: 80
nodePort: 30080
protocol: TCP

---

apiVersion: apps/v1
kind: Deployment
metadata:
Expand All @@ -29,7 +32,7 @@ spec:
spec:
containers:
- name: nginx
image: docker.io/nginx:1.19-alpine
image: docker.io/nginx:1.20-alpine
volumeMounts:
- name: nginx-conf
mountPath: /etc/nginx/nginx.conf
Expand Down
3 changes: 3 additions & 0 deletions deployment/kubernetes/deploymentFiles/swagger/swagger.yaml
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Service
metadata:
Expand All @@ -10,7 +11,9 @@ spec:
protocol: TCP
selector:
app: swagger-ui

---

apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
2 changes: 1 addition & 1 deletion deployment/kubernetes/minikube/README.md
Expand Up @@ -2,7 +2,7 @@

Running Eclipse Ditto on minikube with kubernetes descriptor files or Ditto Helm chart.

In the following sections you can find a short description how to set up Eclipse Ditto on minikube.
In the following sections you can find a short description how to run Eclipse Ditto on minikube.

## Requirements

Expand Down

0 comments on commit f486322

Please sign in to comment.