Skip to content

Commit 074bdb2

Browse files
authored
remove unit curl
1 parent 65aa4f4 commit 074bdb2

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

README.md

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,7 @@ juju relate $APPLICATION_NAME postgresql-k8s
8181
juju status --watch=5s
8282
```
8383

84-
7. Test the application using the unit IP address
85-
86-
```bash
87-
UNIT_IP=<your application unit IP>
88-
curl http://$UNIT_IP:8000/health
89-
```
90-
91-
8. Deploy nginx-ingress-integrator charm
84+
7. Deploy nginx-ingress-integrator charm
9285

9386
```bash
9487
export SERVICE_HOSTNAME="$MODEL_NAME.ubuntu.lan"
@@ -97,7 +90,7 @@ juju deploy nginx-ingress-integrator --trust \
9790
--config service-hostname=$SERVICE_HOSTNAME
9891
```
9992

100-
9. Relate the application application to nginx-ingress-integrator
93+
8. Relate the application application to nginx-ingress-integrator
10194

10295
```bash
10396
juju relate $APPLICATION_NAME nginx-ingress-integrator
@@ -109,19 +102,19 @@ juju relate $APPLICATION_NAME nginx-ingress-integrator
109102
juju status --relations --watch 5s
110103
```
111104

112-
11. Store your secret
105+
9. Store your secret
113106

114107
```bash
115108
curl -X POST http://$SERVICE_HOSTNAME/keys/ -H "Content-Type: application/json" --data '{"value": "I like mint flavored ice-cream and pizza with pineapples"}' -Lkv
116109
```
117110

118-
12. Retrieve your secret
111+
10. Retrieve your secret
119112

120113
```bash
121114
curl http://$SERVICE_HOSTNAME/keys/<key-id>
122115
```
123116

124-
13. (AMD64 only) Relate Canonical Observability Stack (COS)
117+
11. (AMD64 only) Relate Canonical Observability Stack (COS)
125118

126119
```bash
127120
juju relate $APPLICATION_NAME prometheus
@@ -130,7 +123,7 @@ juju relate $APPLICATION_NAME grafana
130123
juju status --watch=5s
131124
```
132125

133-
14. Visit the Grafana URL (link & credentials in spreadsheet)
126+
12. Visit the Grafana URL (link & credentials in spreadsheet)
134127

135128
## Further information
136129

0 commit comments

Comments
 (0)