node-mngt: icarus, CronWorkflow crictl-prune, WorkflowTemplate icarus-ansible-script
This commit is contained in:
1 parent
2d1f8d12ed
commit
8d517c62cd
11 files changed
+169
-102
No files matched your search
@@ -0,0 +1,29 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: CronWorkflow
|
||||
metadata:
|
||||
name: crictl-prune
|
||||
namespace: icarus-nodes-mngt
|
||||
spec:
|
||||
schedules:
|
||||
- "0 0 * * *"
|
||||
concurrencyPolicy: "Forbid"
|
||||
successfulJobsHistoryLimit: 3
|
||||
failedJobsHistoryLimit: 5
|
||||
workflowSpec:
|
||||
entrypoint: exec
|
||||
serviceAccountName: argo-runner
|
||||
imagePullSecrets:
|
||||
- name: oci-mylimbo-infra-icarus-credentials
|
||||
|
||||
templates:
|
||||
- name: exec
|
||||
steps:
|
||||
- - name: script-exec
|
||||
templateRef:
|
||||
name: icarus-ansible-script
|
||||
template: raw-source
|
||||
arguments:
|
||||
parameters:
|
||||
- name: source
|
||||
value: |
|
||||
ansible-playbook mylimbo.globals.k3s.crictl_prune
|
||||
@@ -0,0 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- crictl-prune.yaml
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
Reference in new issue
Block a user