Update 3 files

- /vm_templates/cloudinit.sh
- /.gitlab-ci.yml
- /ansible/roles/k3s/argocd/tasks/main.yml
This commit is contained in:
2023-03-05 00:54:35 +00:00
parent 8e4ee01800
commit 2c37adcf31
3 changed files with 3 additions and 2 deletions

View File

@@ -83,6 +83,7 @@ k3s-ansible:
extends: .ansible_apply extends: .ansible_apply
before_script: before_script:
- cat $ansible > $WORKDIR/ansible - cat $ansible > $WORKDIR/ansible
- cat $kubeseal > $WORKDIR/kubeseal.yaml
needs: ["k3s"] needs: ["k3s"]
rules: rules:
- if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_PIPELINE_SOURCE == "schedule"

View File

@@ -1,6 +1,6 @@
--- ---
- name: Apply Kubeseal master key - name: Apply Kubeseal master key
command: k3s kubectl apply -f /opt/kubeseal.yaml --force command: k3s kubectl apply -f kubeseal.yaml --force
- name: Apply ArgoCD namespace - name: Apply ArgoCD namespace
command: k3s kubectl apply -f https://raw.githubusercontent.com/DeveloperDurp/homelab/main/argocd/namespace.yaml -n argocd command: k3s kubectl apply -f https://raw.githubusercontent.com/DeveloperDurp/homelab/main/argocd/namespace.yaml -n argocd

View File

@@ -1,6 +1,6 @@
export URL="https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20221219.0.x86_64.qcow2" export URL="https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20221219.0.x86_64.qcow2"
export NAME="centos9.qcow2" export NAME="centos9.qcow2"
export VM="CentOS9-Template2" export VM="CentOS9-Template"
export VMID="999990" export VMID="999990"
export LOCATION="NVMeSSD" export LOCATION="NVMeSSD"