Deploy jenkins to new cluster
This commit is contained in:
parent
167e26de62
commit
f214a34323
15
applications/jenkins/jenkins-deployment.yaml
Normal file
15
applications/jenkins/jenkins-deployment.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: jenkins
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 3m0s
|
||||||
|
path: ./
|
||||||
|
prune: true
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: jenkins
|
||||||
|
targetNamespace: jenkins
|
||||||
|
|
||||||
12
applications/jenkins/jenkins-source.yaml
Normal file
12
applications/jenkins/jenkins-source.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||||
|
kind: GitRepository
|
||||||
|
metadata:
|
||||||
|
name: jenkins
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 3m0s
|
||||||
|
ref:
|
||||||
|
branch: master
|
||||||
|
url: https://github.com/thejimnicholson/jenkins.git
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user