Compare commits

..

No commits in common. "00dca9e8d86e2680091ba70adeef91e73fab53c7" and "23fed2025f1b4e7dbb9a1574670fb358ce496aea" have entirely different histories.

4 changed files with 19 additions and 44 deletions

View File

@ -1,5 +1,5 @@
---
apiVersion: networking.k8s.io/v1
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: jenkins-ingress
@ -7,20 +7,16 @@ metadata:
annotations:
kubernetes.io/ingress.class: "traefik"
traefik.ingress.kubernetes.io/redirect-entry-point: https
cert-manager.io/cluster-issuer: dns-clusterissuer
cert-manager.io/cluster-issuer: http-clusterissuer
spec:
rules:
- host: jenkins.thejimnicholson.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: jenkins
port:
number: 8080
- host: jenkins.thejimnicholson.com
http:
paths:
- backend:
serviceName: jenkins
servicePort: 8080
tls:
- hosts:
- jenkins.thejimnicholson.com
secretName: jenkins-thejimnicholson-com
- hosts:
- jenkins.thejimnicholson.com
secretName: jenkins.thejimnicholson.com

View File

@ -1,34 +1,13 @@
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: jenkins-pv
namespace: jenkins
labels:
app: jenkins
spec:
capacity:
storage: 50Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
mountOptions:
- nolock
nfs:
server: 10.0.96.14
path: "/mnt/data/nfs/jenkins-home"
claimRef:
namespace: jenkins
name: jenkins-storage
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: jenkins-storage
name: jenkins-pvc
namespace: jenkins
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn
resources:
requests:
storage: 50Gi
storage: 10Gi

View File

@ -33,6 +33,6 @@ spec:
volumes:
- name: jenkins-vol
persistentVolumeClaim:
claimName: jenkins-storage
claimName: jenkins-pvc
strategy:
type: Recreate

View File

@ -3,7 +3,7 @@ kind: Kustomization
resources:
- namespace.yaml
- credentials.yaml
#- jenkins-volume.yaml
#- jenkins.yaml
#- jenkins-service.yaml
#- jenkins-ingress.yaml
- jenkins-volume.yaml
- jenkins.yaml
- jenkins-service.yaml
- jenkins-ingress.yaml