feat: add tournament support staging exposure
This commit is contained in:
1 parent
61f8745af9
commit
3e756ff2ae
4 files changed
+49
-2
No files matched your search
@@ -6,5 +6,5 @@ metadata:
|
|||||||
app.kubernetes.io/component: api
|
app.kubernetes.io/component: api
|
||||||
data:
|
data:
|
||||||
APP_ENV: staging
|
APP_ENV: staging
|
||||||
NODE_ENV: production
|
NODE_ENV: staging
|
||||||
LOG_LEVEL: debug
|
LOG_LEVEL: debug
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: secrets.infisical.com/v1beta1
|
||||||
|
kind: InfisicalStaticSecret
|
||||||
|
metadata:
|
||||||
|
name: lolympus-tournament-support-secrets
|
||||||
|
spec:
|
||||||
|
infisicalAuthRef:
|
||||||
|
name: infisical-auth
|
||||||
|
namespace: infisical
|
||||||
|
syncOptions:
|
||||||
|
refreshInterval: 60s
|
||||||
|
instantUpdates: false
|
||||||
|
sources:
|
||||||
|
- projectId: 26a80d59-a424-4e33-adfc-2b6e84d6e25f
|
||||||
|
environmentSlug: staging
|
||||||
|
secretPath: /
|
||||||
|
recursive: true
|
||||||
|
targets:
|
||||||
|
- name: lolympus-tournament-support-secrets
|
||||||
|
namespace: lolympus-staging
|
||||||
|
kind: Secret
|
||||||
|
creationPolicy: Owner
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: lolympus-tournament-support
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
spec:
|
||||||
|
ingressClassName: haproxy
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- lolympus-api-staging.dahyeon.us
|
||||||
|
secretName: lolympus-tournament-support-staging-tls
|
||||||
|
rules:
|
||||||
|
- host: lolympus-api-staging.dahyeon.us
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: lolympus-tournament-support
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
@@ -6,10 +6,13 @@ namespace: lolympus-staging
|
|||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
- configmap.yaml
|
- configmap.yaml
|
||||||
|
- infisical-secret.yaml
|
||||||
|
- ingress.yaml
|
||||||
|
|
||||||
images:
|
images:
|
||||||
- name: registry.dahyeon.us/lolympus/lolympus-tournament-support
|
- name: registry.dahyeon.us/lolympus/lolympus-tournament-support
|
||||||
newName: registry.dahyeon.us/lolympus/lolympus-tournament-support/staging/1.0.4
|
newName: registry.dahyeon.us/lolympus/lolympus-tournament-support/staging
|
||||||
|
newTag: 1.1.0
|
||||||
|
|
||||||
replicas:
|
replicas:
|
||||||
- name: lolympus-tournament-support
|
- name: lolympus-tournament-support
|
||||||
|
|||||||
Reference in new issue
Block a user