feat(jenkins): adding new default jenkins configuration

This commit is contained in:
2023-06-19 13:58:25 +02:00
parent 69c6b35d17
commit aeb5a75cf1
20 changed files with 97 additions and 71 deletions

View File

@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: MYAPPLICATION-dev
namespace: myapplication-dev
resources:
- ../../base
@ -8,7 +8,7 @@ resources:
- resources/ingress.yaml
patches:
- path: patches/MYAPPLICATION-update-replicas.yaml
- path: patches/myapplication-update-replicas.yaml
- path: patches/add-registry-pull-secret.yaml
target:
kind: Deployment

View File

@ -1,4 +0,0 @@
- op: add
path: "/spec/template/spec/imagePullSecrets"
value:
- name: regcred-dev

View File

@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: MYAPPLICATION
name: MYAPPLICATION
io.kompose.service: myapplication
name: myapplication
spec:
replicas: 1

View File

@ -1,7 +1,7 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: MYAPPLICATION
name: myapplication
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "138m"
nginx.ingress.kubernetes.io/enable-cors: "true" #cf 01
@ -9,13 +9,13 @@ metadata:
spec:
ingressClassName: nginx
rules:
- host: MYAPPLICATION.dev.local
- host: myapplication.dev.local
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: MYAPPLICATION
name: myapplication
port:
number: 8080

View File

@ -1,4 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: MYAPPLICATION-dev
name: myapplication-dev