From b583a5be65353bd09a5d874a192916f8b5a9f3bf Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Mon, 19 Jun 2023 23:57:55 +1000 Subject: [PATCH] test helm --- .drone.yml | 2 +- charts/Chart.yaml | 10 ------ charts/templates/configmap.yaml | 12 ------- charts/templates/deployment.yaml | 32 ------------------- charts/templates/service.yaml | 12 ------- charts/values.yaml | 17 ---------- .../{namespaces => 00-namespaces}/vdk2ch.yaml | 0 .../hw-hw.yaml | 0 manifests/02-services/hw-service.yaml | 12 +++++++ 9 files changed, 13 insertions(+), 84 deletions(-) delete mode 100644 charts/Chart.yaml delete mode 100644 charts/templates/configmap.yaml delete mode 100644 charts/templates/deployment.yaml delete mode 100644 charts/templates/service.yaml delete mode 100644 charts/values.yaml rename manifests/{namespaces => 00-namespaces}/vdk2ch.yaml (100%) rename manifests/{deployments => 01-deployments}/hw-hw.yaml (100%) create mode 100644 manifests/02-services/hw-service.yaml diff --git a/.drone.yml b/.drone.yml index 40a780f..46c3b73 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,4 +19,4 @@ steps: - git pull origin HITLER_DID_EVERYTHING_WRONG_EXCEPT_THE_STUFF_HE_DID_RIGHT - name: manifests commands: - - su - hogweed1 -c "minikube kubectl -- apply -f /etc/k8s/manifests" \ No newline at end of file + - su - hogweed1 -c "ls /etc/k8s/manifests/**/*.yaml | xargs -n 1 bash -c 'minikube kubectl -- apply -f $0'" \ No newline at end of file diff --git a/charts/Chart.yaml b/charts/Chart.yaml deleted file mode 100644 index 14b89a5..0000000 --- a/charts/Chart.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -apiVersion: v2 -name: nginx-chart -description: My First Helm Chart -type: application -version: 0.1.0 -appVersion: "1.0.0" -maintainers: -- email: vdk2ch@vdk2ch.ru - name: vdk2ch \ No newline at end of file diff --git a/charts/templates/configmap.yaml b/charts/templates/configmap.yaml deleted file mode 100644 index debb5e3..0000000 --- a/charts/templates/configmap.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: {{ .Release.Name }}-index-html-configmap - namespace: default -data: - index.html: | - -

Welcome

-
-

Hi! I got deployed in {{ .Values.env.name }} Environment using Helm Chart

-