diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b188b7..d45aa39 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -83,6 +83,7 @@ k3s-ansible: extends: .ansible_apply before_script: - cat $ansible > $WORKDIR/ansible + - cat $kubeseal > $WORKDIR/kubeseal.yaml needs: ["k3s"] rules: - if: $CI_PIPELINE_SOURCE == "schedule" diff --git a/ansible/roles/k3s/argocd/tasks/main.yml b/ansible/roles/k3s/argocd/tasks/main.yml index 6a462df..f1cb709 100644 --- a/ansible/roles/k3s/argocd/tasks/main.yml +++ b/ansible/roles/k3s/argocd/tasks/main.yml @@ -1,6 +1,6 @@ --- - 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 command: k3s kubectl apply -f https://raw.githubusercontent.com/DeveloperDurp/homelab/main/argocd/namespace.yaml -n argocd diff --git a/vm_templates/cloudinit.sh b/vm_templates/cloudinit.sh index 7696203..58fba34 100644 --- a/vm_templates/cloudinit.sh +++ b/vm_templates/cloudinit.sh @@ -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 NAME="centos9.qcow2" -export VM="CentOS9-Template2" +export VM="CentOS9-Template" export VMID="999990" export LOCATION="NVMeSSD"