a384b4e46d
This upgrades Kubernetes version in airshipctl to v1.21.2 Depends on https://review.opendev.org/c/airship/image-builder/+/812013/ https: //github.com/airshipit/airshipctl/issues/589 Change-Id: I30ef2543d91f574e73a555bf67ab7ec2764a4411 Signed-off-by: diwakar thyagaraj <dt241s@att.com>
29 lines
860 B
YAML
29 lines
860 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: capm3-ironic
|
|
spec:
|
|
template:
|
|
spec:
|
|
initContainers:
|
|
- name: init-images
|
|
image: quay.io/airshipit/ipa-wallaby:latest
|
|
imagePullPolicy: Always
|
|
command: ['/bin/init-images']
|
|
volumeMounts:
|
|
- name: ironic-data-volume
|
|
mountPath: "/shared"
|
|
- name: ironic-entrypoints
|
|
mountPath: /bin/init-images
|
|
subPath: init-images
|
|
- name: qcow-bundle
|
|
command:
|
|
- sh
|
|
- -c
|
|
- "cp /qcows/*.qcow2 /qcows/*.qcow2.md5sum /shared/html/images/"
|
|
image: "quay.io/airshipit/qcow-bundle:k8s-1.21-latest-ubuntu_focal"
|
|
imagePullPolicy: Always
|
|
volumeMounts:
|
|
- mountPath: "/shared"
|
|
name: ironic-data-volume
|