From 7e1463c9759a57608bee54eebafa699725adb4e7 Mon Sep 17 00:00:00 2001 From: Luka <1827208+cluka@users.noreply.github.com> Date: Fri, 11 Sep 2026 14:56:12 +0200 Subject: [PATCH] Add initial BESS Agent Helm chart --- charts/bess-agent/.helmignore | 23 ++++++++++++++++++++ charts/bess-agent/Chart.yaml | 24 +++++++++++++++++++++ charts/bess-agent/templates/deployment.yaml | 18 ++++++++++++++++ charts/bess-agent/values.yaml | 4 ++++ 4 files changed, 69 insertions(+) create mode 100644 charts/bess-agent/.helmignore create mode 100644 charts/bess-agent/Chart.yaml create mode 100644 charts/bess-agent/templates/deployment.yaml create mode 100644 charts/bess-agent/values.yaml diff --git a/charts/bess-agent/.helmignore b/charts/bess-agent/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/charts/bess-agent/.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/charts/bess-agent/Chart.yaml b/charts/bess-agent/Chart.yaml new file mode 100644 index 0000000..3282101 --- /dev/null +++ b/charts/bess-agent/Chart.yaml @@ -0,0 +1,24 @@ +apiVersion: v2 +name: bess-agent +description: A Helm chart for Kubernetes + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.1.0 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "1.16.0" diff --git a/charts/bess-agent/templates/deployment.yaml b/charts/bess-agent/templates/deployment.yaml new file mode 100644 index 0000000..4b2b5b2 --- /dev/null +++ b/charts/bess-agent/templates/deployment.yaml @@ -0,0 +1,18 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ .Release.Name }} +spec: + replicas: 1 + selector: + matchLabels: + app: {{ .Release.Name }} + template: + metadata: + labels: + app: {{ .Release.Name }} + spec: + containers: + - name: bess-agent + image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} \ No newline at end of file diff --git a/charts/bess-agent/values.yaml b/charts/bess-agent/values.yaml new file mode 100644 index 0000000..9b5b4b7 --- /dev/null +++ b/charts/bess-agent/values.yaml @@ -0,0 +1,4 @@ +image: + repository: nginx + tag: alpine + pullPolicy: IfNotPresent \ No newline at end of file