Commit 9a08acda authored by Ozoux's avatar Ozoux
Browse files

Adds robot to beta.

closes #77
parent f534b660
Pipeline #483 passed with stage
in 1 minute and 38 seconds
......@@ -24,6 +24,14 @@ spec:
name: beta
ports:
- containerPort: 8080
volumeMounts:
- name: robot
mountPath: /var/www/html/robot.txt
subPath: robot.txt
volumes:
- name: robot
configMap:
name: robot
---
apiVersion: extensions/v1beta1
kind: Ingress
......@@ -57,4 +65,12 @@ spec:
targetPort: 8080
selector:
app: nginx
---
apiVersion: v1
kind: ConfigMap
metadata:
name: robot
data:
robot.txt: |
User-agent: *
Disallow: /
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment