Compare commits
9 Commits
d09ebd968f
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 43f7a60bd3 | |||
| a72046d211 | |||
| de276189a1 | |||
| c07e7d2029 | |||
| 99919a46c2 | |||
|
|
d8e306b30f | ||
|
|
8b539e804e | ||
|
|
fd5dbca1ed | ||
|
|
8c7a737448 |
@@ -7,7 +7,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: gitea.anvil.it.com
|
REGISTRY: gitea.inouter.com
|
||||||
IMAGE_NAME: ${{ gitea.repository }}
|
IMAGE_NAME: ${{ gitea.repository }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ OpenAI Function Calling / Custom GPT / Cloudflare Workers에서 사용할 수
|
|||||||
### 공개 엔드포인트
|
### 공개 엔드포인트
|
||||||
|
|
||||||
```
|
```
|
||||||
https://namecheap-api.anvil.it.com
|
https://namecheap.api.inouter.com
|
||||||
```
|
```
|
||||||
|
|
||||||
### 인증
|
### 인증
|
||||||
@@ -250,7 +250,7 @@ https://namecheap-api.anvil.it.com
|
|||||||
모든 요청에 `X-API-Key` 헤더 필요:
|
모든 요청에 `X-API-Key` 헤더 필요:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -H "X-API-Key: YOUR_API_KEY" https://namecheap-api.anvil.it.com/domains
|
curl -H "X-API-Key: YOUR_API_KEY" https://namecheap.api.inouter.com/domains
|
||||||
```
|
```
|
||||||
|
|
||||||
API Key는 Vault에 저장됨:
|
API Key는 Vault에 저장됨:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
app: namecheap-api
|
app: namecheap-api
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: gitea.anvil.it.com/kaffa/namecheap-api:87b51c1
|
- image: gitea.inouter.com/kaffa/namecheap-api:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: namecheap-api
|
name: namecheap-api
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -1,21 +1,18 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: HTTPRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: namecheap-api
|
name: namecheap-api
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: traefik
|
hostnames:
|
||||||
tls:
|
- namecheap.api.inouter.com
|
||||||
- secretName: wildcard-anvil-it-com-tls
|
parentRefs:
|
||||||
hosts:
|
- name: traefik-gateway
|
||||||
- namecheap-api.anvil.it.com
|
namespace: kube-system
|
||||||
rules:
|
rules:
|
||||||
- host: namecheap-api.anvil.it.com
|
- matches:
|
||||||
http:
|
- path:
|
||||||
paths:
|
type: PathPrefix
|
||||||
- backend:
|
value: /
|
||||||
service:
|
backendRefs:
|
||||||
name: namecheap-api
|
- name: namecheap-api
|
||||||
port:
|
port: 80
|
||||||
number: 80
|
|
||||||
path: /
|
|
||||||
pathType: Prefix
|
|
||||||
|
|||||||
Reference in New Issue
Block a user