Skip to content

Commit

Permalink
push config to name it acordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Parker committed Mar 17, 2024
1 parent 33e742e commit 3c9815d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 52 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/genparker-build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ jobs:
kustomization: 'overlay/*/kustomization.yml'
base-directory: 'configs/genparker'

- run: find ${{ steps.kustomize.outputs.directory }}

- run: cp -r ${{ steps.kustomize.outputs.directory }} deployment_configs

- name: Update with kustomize
Expand Down
11 changes: 0 additions & 11 deletions configs/genparker/base/network/certificate.yml

This file was deleted.

2 changes: 0 additions & 2 deletions configs/genparker/base/network/kustomization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ kind: Kustomization

resources:
- './be-nginx-controller.yml'
- './letsencrypt.yml'
- './certificate.yml'
14 changes: 0 additions & 14 deletions configs/genparker/base/network/letsencrypt.yml

This file was deleted.

6 changes: 3 additions & 3 deletions configs/genparker/base/platform/platform.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: genparker-be
name: genparker-philanthropy
annotations:
reloader.stakater.com/auto: 'true'
configmap.reloader.stakater.com/reload: 'version-config'
labels:
app: backend
spec:
serviceName: genparker-be
serviceName: genparker-philanthropy
revisionHistoryLimit: 0
replicas: 1
selector:
Expand All @@ -32,7 +32,7 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: genparker-be-svc
name: genparker-philanthropy-svc
labels:
app: backend
spec:
Expand Down
17 changes: 4 additions & 13 deletions configs/genparker/overlay/philantropy/configs/network/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,16 @@ metadata:
spec:
tls:
- hosts:
- philantropy.genparker.com
secretName: genparker-tls-philantropy
- philanthropy.genparker.com
secretName: genparker-tls-philanthropy
rules:
- host: philantropy.genparker.com
- host: philanthropy.genparker.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: genparker-be-svc
name: genparker-philanthropy-svc
port:
number: 59595
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: genparker-certificate
spec:
dnsNames:
- philantropy.genparker.com
secretName: genparker-tls-philantropy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: genparker-be
name: genparker-philanthropy
spec:
template:
spec:
Expand All @@ -10,14 +10,14 @@ spec:
image: ghcr.io/beslogic/genparker_philantropy:latest
env:
- name: SERVER
value: "Dev"
value: 'Dev'
- name: SERVICE
value: "platform-service"
value: 'platform-service'
- name: KAFKA_SERVER
value: "my-cluster-kafka-brokers.kafka.svc.cluster.local:9092"
value: 'my-cluster-kafka-brokers.kafka.svc.cluster.local:9092'
- name: KAFKA_TOPIC_DATA
value: "genparker-philantropy-topic-data"
value: 'genparker-philantropy-topic-data'
- name: KAFKA_TOPIC_LOG
value: "genparker-philantropy-topic-log"
value: 'genparker-philantropy-topic-log'
- name: KAFKA_TOPIC_MODULE
value: "genparker-philantropy-topic-module"
value: 'genparker-philantropy-topic-module'

0 comments on commit 3c9815d

Please sign in to comment.