123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- apiVersion: batch/v1
- kind: CronJob
- metadata:
- name: update-ovh-nginx
- spec:
- schedule: "@hourly"
- jobTemplate:
- spec:
- template:
- spec:
- affinity:
- nodeAffinity:
- requiredDuringSchedulingIgnoredDuringExecution:
- nodeSelectorTerms:
- - matchExpressions:
- - key: net
- operator: In
- values:
- - local
- containers:
- - name: update-ovh-nginx
- image: qdii/update_ovh:latest
- env:
- - name: APPLICATION_KEY
- valueFrom:
- secretKeyRef:
- name: ovh
- key: application_key
- - name: APPLICATION_SECRET
- valueFrom:
- secretKeyRef:
- name: ovh
- key: application_secret
- - name: CONSUMER_KEY
- valueFrom:
- secretKeyRef:
- name: ovh
- key: consumer_key
- - name: ZONE_NAME
- value: "dodges.it"
- - name: SUBDOMAIN
- value: "nginx"
- - name: OVH_ENDPOINT
- value: "ovh-eu"
- - name: FORCE_IPV6
- value: "2a02:168:47b1:0:47a1:a412:9000:5993"
- restartPolicy: Never
- ---
- apiVersion: batch/v1
- kind: CronJob
- metadata:
- name: update-ovh-ter
- spec:
- schedule: "@hourly"
- jobTemplate:
- spec:
- template:
- spec:
- affinity:
- nodeAffinity:
- requiredDuringSchedulingIgnoredDuringExecution:
- nodeSelectorTerms:
- - matchExpressions:
- - key: kubernetes.io/hostname
- operator: In
- values:
- - ter.dodges.it
- containers:
- - name: update-ovh-ter
- image: qdii/update_ovh:latest
- env:
- - name: APPLICATION_KEY
- valueFrom:
- secretKeyRef:
- name: ovh
- key: application_key
- - name: APPLICATION_SECRET
- valueFrom:
- secretKeyRef:
- name: ovh
- key: application_secret
- - name: CONSUMER_KEY
- valueFrom:
- secretKeyRef:
- name: ovh
- key: consumer_key
- - name: ZONE_NAME
- value: "dodges.it"
- - name: SUBDOMAIN
- value: "ter"
- - name: OVH_ENDPOINT
- value: "ovh-eu"
- restartPolicy: Never
|