Created
August 7, 2017 13:59
-
-
Save lucab/1a45f43b3d75a89d9988f7b4af035c98 to your computer and use it in GitHub Desktop.
[k8s/jobs] torcx - list profiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: "torcx-userland" | |
spec: | |
template: | |
metadata: | |
name: "torcx-userland" | |
spec: | |
restartPolicy: Never | |
containers: | |
- name: "torcx-userland" | |
image: 'quay.io/lucab/torcx-userland:0.1.0' | |
command: ["/usr/sbin/torcx"] | |
args: ["profile", "list"] | |
volumeMounts: | |
- mountPath: /usr/share/torcx/ | |
readOnly: true | |
name: torcx-vendor-dir | |
- mountPath: /run/metadata/ | |
readOnly: true | |
name: metadata-dir | |
- mountPath: /etc/torcx/ | |
readOnly: true | |
name: torcx-conf-dir | |
- mountPath: /run/torcx | |
readOnly: true | |
name: torcx-rundir | |
- mountPath: /usr/share/coreos/os-release | |
readOnly: true | |
name: coreos-os-release | |
volumes: | |
- name: metadata-dir | |
hostPath: | |
path: /run/metadata/ | |
- name: torcx-conf-dir | |
hostPath: | |
path: /etc/torcx/ | |
- name: torcx-vendor-dir | |
hostPath: | |
path: /usr/share/torcx/ | |
- name: torcx-rundir | |
hostPath: | |
path: /run/torcx | |
- name: coreos-os-release | |
hostPath: | |
path: /usr/share/coreos/os-release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment