Files
nodes.mngt/hosting-mngt/workflows/tests-download-private-oci.yaml

39 lines
947 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: tests-download-private-oci-
namespace: hosting-mngt
labels:
workflows.argoproj.io/archive-strategy: "false"
annotations:
workflows.argoproj.io/description: |
tests
spec:
entrypoint: exec
serviceAccountName: argo-runner
imagePullSecrets:
- name: oci-registry-secret
templates:
- name: exec
script:
image: alpine:latest
command: ["sh"]
source: |
#!/bin/sh
ls -lah /mnt
resources:
limits:
memory: "512Mi"
cpu: "500m"
requests:
memory: "256Mi"
cpu: "250m"
volumeMounts:
- name: oci-image
mountPath: /mnt
volumes:
- name: oci-image
image:
reference: oci.limbosolutions.com/mylimbo.infra.icarus/ansible-inventory:latest
pullPolicy: Always