Skip to content

Commit

Permalink
Add web server to deployment script
Browse files Browse the repository at this point in the history
Signed-off-by: Ammar Lakis <[email protected]>
  • Loading branch information
ammarlakis committed Oct 28, 2021
1 parent 7d52cee commit ca147d6
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions prow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Its structure looks as follows:
└── plugins.yaml # The file with Prow plugins configuration
└── create-secrets-for-workload-cluster.sh # The script which creates a Secret in the Prow cluster, used to access the workload cluster
└── set-up-workload-cluster.sh # The script which prepares the workload cluster to be used by the Prow cluster
└── static-files # Files that will be uploaded to the nginx web server. To configure how traffic is routed to these files, update the prow ingress paths and the web server configuration ConfigMap.
```

## Installation
Expand Down
2 changes: 1 addition & 1 deletion prow/cluster/components/tls-ing_ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ spec:
servicePort: 80
- path: /robots.txt
backend:
serviceName: reverse-proxy
serviceName: web-server
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ spec:
port: 80
initialDelaySeconds: 10
periodSeconds: 3
timeoutSeconds: 600
timeoutSeconds: 30
readinessProbe:
httpGet:
path: /robots.txt
port: 80
initialDelaySeconds: 10
periodSeconds: 3
timeoutSeconds: 600
timeoutSeconds: 30
volumes:
- name: config
configMap:
Expand Down
1 change: 1 addition & 0 deletions prow/cluster/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ prow_components=(
"tide_deployment.yaml"
"tide_service.yaml"
"tls-ing_ingress.yaml"
"web_server_deployment.yaml"
)

function ensure-context() {
Expand Down
File renamed without changes.
Empty file removed prow/static_files/index.html
Empty file.

0 comments on commit ca147d6

Please sign in to comment.