`updatecheck` is a little utility I wrote that queries Fedora Bodhi for updates and sends an HTTP request when one is found. I am specifically going to use it to trigger rebuilding the _gasket-driver_ RPM whenever there is a new _kernel_ published.
50 lines
918 B
YAML
50 lines
918 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
labels:
|
|
- pairs:
|
|
app.kubernetes.io/instance: jenkins
|
|
|
|
resources:
|
|
- jenkins.yaml
|
|
- secrets.yaml
|
|
- iscsi.yaml
|
|
- ssh-host-keys
|
|
- workspace-volume.yaml
|
|
- updatecheck.yaml
|
|
|
|
configMapGenerator:
|
|
- name: updatecheck
|
|
namespace: jenkins
|
|
files:
|
|
- config.toml=updatecheck.toml
|
|
options:
|
|
disableNameSuffixHash: true
|
|
labels:
|
|
app.kubernetes.io/name: updatecheck
|
|
app.kubernetes.io/component: updatecheck
|
|
|
|
patches:
|
|
- patch: |
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: jenkins
|
|
namespace: jenkins
|
|
spec:
|
|
volumeName: jenkins
|
|
storageClassName: ''
|
|
|
|
- patch: |
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: updatecheck
|
|
namespace: jenkins
|
|
spec:
|
|
storageClassName: synology-iscsi
|
|
|
|
images:
|
|
- name: docker.io/jenkins/jenkins
|
|
newTag: 2.528.2-lts
|