qa update into main #2

Merged
steve merged 39 commits from qa into master 2025-02-17 14:32:58 -05:00
6 changed files with 28 additions and 20 deletions
Showing only changes of commit eca4c72c0a - Show all commits

View File

@@ -1,9 +0,0 @@
#!/bin/bash
REG=192.168.1.134:5000
NS=papi
IMG=svc1
TAG=dev
DIMG=${REG}/${NS}/${IMG}:${TAG}
docker build -f Dockerfile -t ${DIMG} .
docker push ${DIMG}

2
deploy.dev.sh Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
helm upgrade papi ./papi-helm/ -f ./papi-helm/v.dev.yaml

7
papi-helm/v.dev.yaml Normal file
View File

@@ -0,0 +1,7 @@
ingress:
enabled: true
hosts:
- host: papi.kube-dev.fairfaxmedia.net
paths:
- path: /
pathType: ImplementationSpecific

11
papi-helm/v.prod.yaml Normal file
View File

@@ -0,0 +1,11 @@
ingress:
enabled: true
hosts:
- host: papi.fairfaxmedia.net
paths:
- path: /
pathType: ImplementationSpecific
- host: papi.kube.fairfaxmedia.net
paths:
- path: /
pathType: ImplementationSpecific

7
papi-helm/v.qa.yaml Normal file
View File

@@ -0,0 +1,7 @@
ingress:
enabled: true
hosts:
- host: papi.kube-qa.fairfaxmedia.net
paths:
- path: /
pathType: ImplementationSpecific

View File

@@ -52,7 +52,7 @@ securityContext: {}
# This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
service:
# This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
type: NodePort
type: ClusterIP
# This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports
port: 8912
@@ -63,16 +63,6 @@ ingress:
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: papi.fairfaxmedia.net
paths:
- path: /
pathType: ImplementationSpecific
- host: papi.kube-dev.fairfaxmedia.net
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts: