Skip to content

Commit db357a3

Browse files
authored
remove unit curl
1 parent 0ebe32b commit db357a3

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
@@ -83,14 +83,7 @@ juju relate $APPLICATION_NAME postgresql-k8s
8383
juju status --watch=5s
8484
```
8585

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

9588
```bash
9689
export SERVICE_HOSTNAME="$MODEL_NAME.ubuntu.lan"
@@ -99,7 +92,7 @@ juju deploy nginx-ingress-integrator --trust \
9992
--config service-hostname=$SERVICE_HOSTNAME
10093
```
10194

102-
9. Relate the application application to nginx-ingress-integrator
95+
8. Relate the application application to nginx-ingress-integrator
10396

10497
```bash
10598
juju relate $APPLICATION_NAME nginx-ingress-integrator
@@ -111,19 +104,19 @@ juju relate $APPLICATION_NAME nginx-ingress-integrator
111104
juju status --relations --watch 5s
112105
```
113106

114-
10. Store your secret
107+
9. Store your secret
115108

116109
```bash
117110
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
118111
```
119112

120-
11. Retrieve your secret
113+
10. Retrieve your secret
121114

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

126-
12. (AMD64 only) Relate Canonical Observability Stack (COS)
119+
11. (AMD64 only) Relate Canonical Observability Stack (COS)
127120

128121
```bash
129122
juju relate $APPLICATION_NAME prometheus
@@ -132,7 +125,7 @@ juju relate $APPLICATION_NAME grafana
132125
juju status --watch=5s
133126
```
134127

135-
13. Visit the Grafana URL (link & credentials in spreadsheet)
128+
12. Visit the Grafana URL (link & credentials in spreadsheet)
136129

137130
## Further information
138131

0 commit comments

Comments
 (0)