metal/tools/rvmc/docker/examples/rvmc_pod.yaml
Hugo Brito 3f181357cc debian: port rvmc docker image to Debian
This commit enables the creation of rvmc docker image by both
distros: CentOS and Debian.

Test Plan:
PASS - Install DC subcloud using Debian image
1. Build rvmc image using stx-debian.
2. Push the new rvmc image to a DC lab registry.
3. Modify the dccommon subcloud_install pointing to the new rvmc image.
4. Install a new subcloud using the new rvmc image.
PASS - Install DC subcloud using CentOS image (same steps as Debian)

Story: 2009831
Task: 45969

Signed-off-by: Hugo Brito <hugo.brito@windriver.com>
Change-Id: I11a9f331cfd1a03d7b5a99223203b240fb31d88b
2022-08-12 16:30:01 +00:00

20 lines
375 B
YAML

---
apiVersion: v1
kind: Pod
metadata:
name: rvmc
spec:
nodeSelector:
kubernetes.io/hostname: controller-0
containers:
- name: rvmc
image: rvmc:dev-centos-stable-build
volumeMounts:
- mountPath: /etc/rvmc.yaml
name: rvmc-config
volumes:
- name: rvmc-config
hostPath:
path: /etc/rvmc.yaml
restartPolicy: Never