Skip to content

Commit

Permalink
upgrade nginx and cert-manager --update-instances jerusalem
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Jul 4, 2023
1 parent ac9b25c commit 4bda7a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 3 additions & 4 deletions docs/CREATE_CLUSTER.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ ckan-cloud-operator cluster initialize --interactive --cluster-provider=gcloud
Install nginx ingress

```
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.30.0/deploy/static/mandatory.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/nginx-0.30.0/deploy/static/provider/cloud-generic.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.8.1/deploy/static/provider/cloud/deploy.yaml
```

Verify ingress-nginx is Running
Expand All @@ -129,7 +128,7 @@ Install cert-manager for SSL

```
kubectl create ns cert-manager
kubectl apply --validate=false -f https://github.com/jetstack/cert-manager/releases/download/v0.13.0/cert-manager.yaml
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.12.0/cert-manager.yaml
kubectl get pods --namespace cert-manager
```

Expand All @@ -138,7 +137,7 @@ Create lets-encrypt cluster issuer
Create a Let's Encrypt cluster issuer (replace the email with your email):

```
echo "apiVersion: cert-manager.io/v1alpha2
echo "apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt
Expand Down
6 changes: 1 addition & 5 deletions instances/jerusalem/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ ingresses:
- name: jerusalem-datacity-org-il
ckanService: true
# maxBodySize: "1000M"
extraConfig: |
cert-manager.io/cluster-issuer: letsencrypt
tls: true
rules:
- host: jerusalem.datacity.org.il
Expand All @@ -30,8 +28,6 @@ ingresses:
- name: datacity-jerusalem-muni-il
ckanService: true
# maxBodySize: "1000M"
extraConfig: |
cert-manager.io/cluster-issuer: letsencrypt
tls: true
rules:
- host: datacity.jerusalem.muni.il
Expand All @@ -48,7 +44,7 @@ updateInstanceOnImageTagChange: true
ckanImage: "datacity/ckan:latest"

ckanHelmChartRepo: https://raw.githubusercontent.com/hasadna/ckan-cloud-helm/master/charts_repository
ckanHelmChartVersion: 0.0.0-0e2f61f52abeb9754ca792b76cc7c11363534eec
ckanHelmChartVersion: 0.0.0-bb0945e8340d99a0d44d9670cdf9248b99e7f923
ckanOperatorImage: "datacity/cca-operator:c1466d57370ceba7b23dfe4ce7a74f533bdbe9e3"

### Infrastructure / Resources ###
Expand Down

0 comments on commit 4bda7a8

Please sign in to comment.