oci-registry-secret review
This commit is contained in:
1 parent
47e765d582
commit
ad62349a05
5 files changed
+51
-2
No files matched your search
@@ -1,2 +1,3 @@
|
|||||||
**
|
**
|
||||||
!.gitignore
|
!.gitignore
|
||||||
|
!**.example.**
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"auths": {
|
||||||
|
"xxx.xxx.con": {
|
||||||
|
"username": "xxxx",
|
||||||
|
"password": "xxxx"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -11,6 +11,9 @@ secretGenerator:
|
|||||||
files:
|
files:
|
||||||
- vault-pass.txt=.env.d/ansible-vault-pass.txt
|
- vault-pass.txt=.env.d/ansible-vault-pass.txt
|
||||||
- ansible_become_password=.env.d/ansible_become_password
|
- ansible_become_password=.env.d/ansible_become_password
|
||||||
|
- name: oci-registry-secret
|
||||||
|
files:
|
||||||
|
- .dockerconfigjson=.env.d/oci-registry-secret.json
|
||||||
generatorOptions:
|
generatorOptions:
|
||||||
disableNameSuffixHash: true
|
disableNameSuffixHash: true
|
||||||
|
|
||||||
|
|||||||
@@ -10,9 +10,8 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
serviceAccountName: argo-runner
|
serviceAccountName: argo-runner
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: oci-mylimbo-infra-icarus-credentials
|
- name: oci-registry-secret
|
||||||
entrypoint: raw-source
|
entrypoint: raw-source
|
||||||
|
|
||||||
templates:
|
templates:
|
||||||
- name: raw-source
|
- name: raw-source
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Workflow
|
||||||
|
metadata:
|
||||||
|
generateName: tests-download-private-oci-
|
||||||
|
namespace: icarus-nodes-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
|
||||||
Reference in new issue
Block a user