From 2dc076b2d304a63eb7bd34c51776605e29458366 Mon Sep 17 00:00:00 2001 From: James Mellors Date: Mon, 12 May 2025 12:01:04 +0100 Subject: [PATCH] updating alloy config --- alloy/helm/alloy-config/.helmignore | 23 +++++++++++++++++++ alloy/helm/alloy-config/Chart.yaml | 8 +++++++ alloy/helm/{ => alloy-config}/alloy.hcl | 0 .../templates}/configmap.yaml | 2 +- alloy/helm/alloy-config/values.yaml | 0 5 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 alloy/helm/alloy-config/.helmignore create mode 100644 alloy/helm/alloy-config/Chart.yaml rename alloy/helm/{ => alloy-config}/alloy.hcl (100%) rename alloy/helm/{ => alloy-config/templates}/configmap.yaml (68%) create mode 100644 alloy/helm/alloy-config/values.yaml diff --git a/alloy/helm/alloy-config/.helmignore b/alloy/helm/alloy-config/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/alloy/helm/alloy-config/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/alloy/helm/alloy-config/Chart.yaml b/alloy/helm/alloy-config/Chart.yaml new file mode 100644 index 0000000..ec2c822 --- /dev/null +++ b/alloy/helm/alloy-config/Chart.yaml @@ -0,0 +1,8 @@ +apiVersion: v2 +name: alloy-config +description: A Helm chart to manage Istio Gateways, VirtualServices, and Certificates for various applications +type: application +# Update version as you make changes +version: 0.1.0 +# appVersion can be set but isn't strictly tied to an app here +appVersion: "1.0" \ No newline at end of file diff --git a/alloy/helm/alloy.hcl b/alloy/helm/alloy-config/alloy.hcl similarity index 100% rename from alloy/helm/alloy.hcl rename to alloy/helm/alloy-config/alloy.hcl diff --git a/alloy/helm/configmap.yaml b/alloy/helm/alloy-config/templates/configmap.yaml similarity index 68% rename from alloy/helm/configmap.yaml rename to alloy/helm/alloy-config/templates/configmap.yaml index 31dedc3..96ee576 100644 --- a/alloy/helm/configmap.yaml +++ b/alloy/helm/alloy-config/templates/configmap.yaml @@ -5,4 +5,4 @@ metadata: namespace: monitoring data: alloy.config: | - {{- readFile "alloy/helm/alloy.hcl" | nindent 4 }} \ No newline at end of file + {{- readFile "alloy.hcl" | nindent 4 }} \ No newline at end of file diff --git a/alloy/helm/alloy-config/values.yaml b/alloy/helm/alloy-config/values.yaml new file mode 100644 index 0000000..e69de29