From 7c598c78b2233569cbd9eef1c71ffb39a00a2d49 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Thu, 29 Jun 2023 11:34:41 -0400 Subject: [PATCH] feat: add DOKS variant for Digital Ocean --- .github/workflows/publish-tag-projections.yml | 14 ++++++++++++++ .holo/branches/k8s-blueprint-doks/_common.toml | 4 ++++ .../_jarvus-cluster-template.toml | 3 +++ .../k8s-blueprint-doks/metrics-server.toml | 3 +++ .holo/branches/k8s-manifests-doks.toml | 3 +++ k8s-doks/.holo/lenses/metrics-server.toml | 12 ++++++++++++ 6 files changed, 39 insertions(+) create mode 100644 .holo/branches/k8s-blueprint-doks/_common.toml create mode 100644 .holo/branches/k8s-blueprint-doks/_jarvus-cluster-template.toml create mode 100644 .holo/branches/k8s-blueprint-doks/metrics-server.toml create mode 100644 .holo/branches/k8s-manifests-doks.toml create mode 100644 k8s-doks/.holo/lenses/metrics-server.toml diff --git a/.github/workflows/publish-tag-projections.yml b/.github/workflows/publish-tag-projections.yml index d77d15f..d0f7015 100644 --- a/.github/workflows/publish-tag-projections.yml +++ b/.github/workflows/publish-tag-projections.yml @@ -31,6 +31,13 @@ jobs: with: holobranch: k8s-blueprint-lke commit-to: k8s/blueprint/lke + commit-to: k8s/blueprint/aks + + - name: 'Update holobranch: k8s/blueprint/doks' + uses: JarvusInnovations/hologit@actions/projector/v1 + with: + holobranch: k8s-blueprint-doks + commit-to: k8s/blueprint/doks - name: 'Update holobranch: k8s/manifests/common' uses: JarvusInnovations/hologit@actions/projector/v1 @@ -49,3 +56,10 @@ jobs: with: holobranch: k8s-manifests-lke commit-to: k8s/manifests/lke + commit-to: k8s/manifests/aks + + - name: 'Update holobranch: k8s/manifests/doks' + uses: JarvusInnovations/hologit@actions/projector/v1 + with: + holobranch: k8s-manifests-doks + commit-to: k8s/manifests/doks diff --git a/.holo/branches/k8s-blueprint-doks/_common.toml b/.holo/branches/k8s-blueprint-doks/_common.toml new file mode 100644 index 0000000..62dc579 --- /dev/null +++ b/.holo/branches/k8s-blueprint-doks/_common.toml @@ -0,0 +1,4 @@ +[holomapping] +before = "*" +holosource = "jarvus-cluster-template=>k8s-blueprint" +files = "**" diff --git a/.holo/branches/k8s-blueprint-doks/_jarvus-cluster-template.toml b/.holo/branches/k8s-blueprint-doks/_jarvus-cluster-template.toml new file mode 100644 index 0000000..19f5e0e --- /dev/null +++ b/.holo/branches/k8s-blueprint-doks/_jarvus-cluster-template.toml @@ -0,0 +1,3 @@ +[holomapping] +root = "k8s-doks" +files = "**" diff --git a/.holo/branches/k8s-blueprint-doks/metrics-server.toml b/.holo/branches/k8s-blueprint-doks/metrics-server.toml new file mode 100644 index 0000000..73e55a8 --- /dev/null +++ b/.holo/branches/k8s-blueprint-doks/metrics-server.toml @@ -0,0 +1,3 @@ +[holomapping] +root = "manifests" +files = "**" diff --git a/.holo/branches/k8s-manifests-doks.toml b/.holo/branches/k8s-manifests-doks.toml new file mode 100644 index 0000000..ce3f2c8 --- /dev/null +++ b/.holo/branches/k8s-manifests-doks.toml @@ -0,0 +1,3 @@ +[holobranch] +extend = "k8s-blueprint-doks" +lens = true diff --git a/k8s-doks/.holo/lenses/metrics-server.toml b/k8s-doks/.holo/lenses/metrics-server.toml new file mode 100644 index 0000000..064d48c --- /dev/null +++ b/k8s-doks/.holo/lenses/metrics-server.toml @@ -0,0 +1,12 @@ +[hololens] +package = "holo/lens-kustomize/1.0" + +[hololens.kustomize] +directory = "release" + +[hololens.input] +root = "metrics-server" +files = "**" + +[hololens.output] +merge = "replace"