Skip to content

Commit d5aff48

Browse files
Merge pull request #3 from stackryze/feat/api-endpoint
chore: production API host api-dns.stackryze.com
2 parents 3129eef + b3e3c23 commit d5aff48

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ for [cert-manager](https://cert-manager.io) that issues certificates (including
77
Bearer token — no impact on the DNS serving path.
88

99
```
10-
cert-manager ──(DNS-01 challenge)──► stackryze-webhook ──(Bearer token)──► api.stackryze.com
10+
cert-manager ──(DNS-01 challenge)──► stackryze-webhook ──(Bearer token)──► api-dns.stackryze.com
1111
│
1212
creates/deletes TXT _acme-challenge
1313
```
@@ -55,7 +55,7 @@ spec:
5555
groupName: acme.stackryze.com
5656
solverName: stackryze
5757
config:
58-
apiUrl: https://api.stackryze.com/api
58+
apiUrl: https://api-dns.stackryze.com/api
5959
apiTokenSecretRef:
6060
name: stackryze-api-token
6161
key: token
@@ -67,7 +67,7 @@ Then request a wildcard certificate — see [examples/clusterissuer.yaml](exampl
6767
6868
| Field | Required | Description |
6969
|-------|----------|-------------|
70-
| `apiUrl` | no | API base (default `https://api.stackryze.com/api`) |
70+
| `apiUrl` | no | API base (default `https://api-dns.stackryze.com/api`) |
7171
| `apiTokenSecretRef.name` | yes | Secret holding the API token |
7272
| `apiTokenSecretRef.key` | yes | Key in the secret (e.g. `token`) |
7373

‎client.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type stackryzeClient struct {
1919

2020
func newClient(baseURL, token string) *stackryzeClient {
2121
if baseURL == "" {
22-
baseURL = "https://api.stackryze.com/api"
22+
baseURL = "https://api-dns.stackryze.com/api"
2323
}
2424
return &stackryzeClient{
2525
baseURL: strings.TrimRight(baseURL, "/"),

‎examples/clusterissuer.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
groupName: acme.stackryze.com
2525
solverName: stackryze
2626
config:
27-
apiUrl: https://api.stackryze.com/api
27+
apiUrl: https://api-dns.stackryze.com/api
2828
apiTokenSecretRef:
2929
name: stackryze-api-token
3030
key: token

0 commit comments

Comments
 (0)