Skip to content

Commit 69baf0d

Browse files
authored
remove unit curl
1 parent 2ff2aa4 commit 69baf0d

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
@@ -80,21 +80,14 @@ juju relate $APPLICATION_NAME postgresql-k8s
8080
juju status --watch=5s
8181
```
8282

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

9285
```bash
9386
export SERVICE_HOSTNAME="$MODEL_NAME.ubuntu.local"
9487
juju deploy nginx-ingress-integrator --trust --config path-routes=/ --config service-hostname=$SERVICE_HOSTNAME
9588
```
9689

97-
9. Relate the application application to nginx-ingress-integrator
90+
8. Relate the application application to nginx-ingress-integrator
9891

9992
```bash
10093
juju relate $APPLICATION_NAME nginx-ingress-integrator
@@ -106,19 +99,19 @@ juju relate $APPLICATION_NAME nginx-ingress-integrator
10699
juju status --relations --watch 5s
107100
```
108101

109-
11. Store your secret
102+
9. Store your secret
110103

111104
```bash
112105
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
113106
```
114107

115-
12. Retrieve your secret
108+
10. Retrieve your secret
116109

117110
```bash
118111
curl http://$SERVICE_HOSTNAME/keys/<key-id>
119112
```
120113

121-
13. (AMD64 only) Relate Canonical Observability Stack (COS)
114+
11. (AMD64 only) Relate Canonical Observability Stack (COS)
122115

123116
```bash
124117
juju relate $APPLICATION_NAME prometheus
@@ -127,7 +120,7 @@ juju relate $APPLICATION_NAME grafana
127120
juju status --watch=5s
128121
```
129122

130-
14. Visit the Grafana URL (link & credentials in spreadsheet)
123+
12. Visit the Grafana URL (link & credentials in spreadsheet)
131124

132125
## Further information
133126

0 commit comments

Comments
 (0)