Compare commits
7 Commits
fd5dbca1ed
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 43f7a60bd3 | |||
| a72046d211 | |||
| de276189a1 | |||
| c07e7d2029 | |||
| 99919a46c2 | |||
|
|
d8e306b30f | ||
|
|
8b539e804e |
@@ -7,7 +7,7 @@ on:
|
||||
- main
|
||||
|
||||
env:
|
||||
REGISTRY: gitea.anvil.it.com
|
||||
REGISTRY: gitea.inouter.com
|
||||
IMAGE_NAME: ${{ gitea.repository }}
|
||||
|
||||
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` 헤더 필요:
|
||||
|
||||
```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에 저장됨:
|
||||
|
||||
@@ -14,7 +14,7 @@ spec:
|
||||
app: namecheap-api
|
||||
spec:
|
||||
containers:
|
||||
- image: gitea.anvil.it.com/kaffa/namecheap-api:87b51c1
|
||||
- image: gitea.inouter.com/kaffa/namecheap-api:latest
|
||||
imagePullPolicy: Always
|
||||
name: namecheap-api
|
||||
ports:
|
||||
|
||||
@@ -1,21 +1,18 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: namecheap-api
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
tls:
|
||||
- secretName: wildcard-anvil-it-com-tls
|
||||
hosts:
|
||||
- namecheap-api.anvil.it.com
|
||||
hostnames:
|
||||
- namecheap.api.inouter.com
|
||||
parentRefs:
|
||||
- name: traefik-gateway
|
||||
namespace: kube-system
|
||||
rules:
|
||||
- host: namecheap-api.anvil.it.com
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: namecheap-api
|
||||
port:
|
||||
number: 80
|
||||
path: /
|
||||
pathType: Prefix
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- name: namecheap-api
|
||||
port: 80
|
||||
|
||||
Reference in New Issue
Block a user