Skip to content

Commit

Permalink
chore: brb going to render html with my ass
Browse files Browse the repository at this point in the history
  • Loading branch information
gm112 committed Jan 18, 2025
1 parent d7fc111 commit 9a63a28
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 14 deletions.
2 changes: 1 addition & 1 deletion iac/zfgc.com/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Currently, we're including legacy zfgc.com services under the `old-skool` servic

### Shared

- [postgres](./services/shared/postgres/kustomization.yml)
- [postgres](./services/shared/postgres/kustomization.yml)
4 changes: 2 additions & 2 deletions iac/zfgc.com/base/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ spec:
- host: crystalrook.com
http:
paths:
- path: /
- path: /crystalrookarts
pathType: ImplementationSpecific
backend:
service:
name: old-skool
port:
number: 8080
number: 8082
- host: pizzatime.zfgc.com
http:
paths:
Expand Down
5 changes: 5 additions & 0 deletions iac/zfgc.com/services/old-skool/kustomization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace: old-skool
resources:
- ../shared/apache
- ../shared/mysql
- ../shared/tomcat
3 changes: 3 additions & 0 deletions iac/zfgc.com/services/shared/apache/kustomization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resources:
- deployment.yml
- service.yml
3 changes: 3 additions & 0 deletions iac/zfgc.com/services/shared/mysql/kustomization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resources:
- deployment.yml
- service.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: crystalrookarts
name: tomcatstuff
spec:
replicas: 1
selector:
matchLabels:
app: crystalrookarts
app: tomcatstuff
template:
metadata:
labels:
app: crystalrookarts
app: tomcatstuff
spec:
containers:
- name: crystalrookarts
- name: tomcatstuff
image: "tomcat:jre17-temurin-jammy"
volumeMounts:
- name: crystalrookarts-content
- name: tomcatstuff-content
mountPath: /usr/local/tomcat/webapps/content
volumes:
- name: crystalrookarts-content
- name: tomcatstuff-content
hostPath:
path: ${OLD_SKOOL_DIR}/crystalrookarts
path: ${TOMCATSTUFF_DIR}
type: DirectoryOrCreate
3 changes: 3 additions & 0 deletions iac/zfgc.com/services/shared/tomcat/kustomization.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resources:
- deployment.yml
- service.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: crystalrookarts
name: tomcatstuff
spec:
ports:
- port: 8082
targetPort: 80
clusterIP: None
selector:
app: crystalrookarts
app: tomcatstuff
2 changes: 1 addition & 1 deletion iac/zfgc.com/services/zfgbb/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# zfgbb

TBD
TBD
2 changes: 1 addition & 1 deletion iac/zfgc.com/services/zfgbb/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
name: zfgbb-secrets
key: POSTGRES_PASSWORD
- name: zfgbb
image: zfgbb-zfgbb:latest
image: zfgbb-api:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
1 change: 1 addition & 0 deletions iac/zfgc.com/services/zfgbb/kustomization.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
namespace: zfgbb
resources:
- ../shared/postgres
- ../shared/tomcat
- deployment.yml
- service.yml

0 comments on commit 9a63a28

Please sign in to comment.