Skip to content

Commit

Permalink
k8s update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Nowak committed Oct 29, 2023
1 parent f360d06 commit acbe97e
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ksox.finance
name: ksox-landing
annotations:
nginx.ingress.kubernetes.io/use-regex: "true"
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
tls:
- hosts:
- ksox.finance
- landing.ksox.finance
secretName: ksox-finance-tls
rules:
- host: ksox.finance
- host: landing.ksox.finance
http:
paths:
- path: /(.*)
pathType: ImplementationSpecific
backend:
service:
name: ksox.finance
name: ksox-landing
port:
number: 80
10 changes: 5 additions & 5 deletions k8s/patches/prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ namespace: ksox-finance

resources:
- ./../../resources
- ./ksox-finance.yaml
- ./ksox-landing.yaml

secretGenerator:
- name: ksox-finance-secrets
env: ./enviroment/ksox-finance-secrets.env
- name: ksox-landing-secrets
env: ./enviroment/ksox-landing-secrets.env

configMapGenerator:
- name: ksox-finance-config
env: ./enviroment/ksox-finance-config.env
- name: ksox-landing-config
env: ./enviroment/ksox-landing-config.env

generatorOptions:
disableNameSuffixHash: true
20 changes: 10 additions & 10 deletions k8s/resources/ksox-finance.yaml → k8s/resources/ksox-landing.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ksox-finance
name: ksox-landing
labels:
app: ksox-finance
app: ksox-landing
spec:
selector:
matchLabels:
app: ksox-finance
app: ksox-landing
template:
metadata:
labels:
app: ksox-finance
app: ksox-landing
spec:
containers:
- name: ksox-finance
image: ksox-finance
- name: ksox-landing
image: ksox-landing
envFrom:
- secretRef:
name: ksox-finance-secrets
name: ksox-landing-secrets
- configMapRef:
name: ksox-finance-config
name: ksox-landing-config
ports:
- containerPort: 80
resources:
Expand All @@ -34,10 +34,10 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: ksox-finance
name: ksox-landing
spec:
selector:
app: ksox-finance
app: ksox-landing
ports:
- protocol: TCP
port: 80
Expand Down
2 changes: 1 addition & 1 deletion k8s/resources/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- ./ksox-finance.yaml
- ./ksox-landing.yaml
6 changes: 4 additions & 2 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ export const head: DocumentHead = {
meta: [
{
name: "description",
content: "KSOX: Your central hub for cryptocurrency exchange, transfer, and business solutions. Experience low fees, open-source flexibility, and a suite of tools to optimize your crypto endeavors.",
content:
"KSOX: Your central hub for cryptocurrency exchange, transfer, and business solutions. Experience low fees, open-source flexibility, and a suite of tools to optimize your crypto endeavors.",
},
{
name: "keywords",
content: "Crypto exchange, Low fees, Arbitrage bots, Open source crypto, AI trading, Crypto transfer, Business platform, Cryptocurrency market, Asset accumulation, Invoice processing",
content:
"Crypto exchange, Low fees, Arbitrage bots, Open source crypto, AI trading, Crypto transfer, Business platform, Cryptocurrency market, Asset accumulation, Invoice processing",
},
{
name: "theme-color",
Expand Down

0 comments on commit acbe97e

Please sign in to comment.