From 35dd0c0e190638b523b1c073666c8b030a5ca2e8 Mon Sep 17 00:00:00 2001 From: RawanMostafa08 Date: Wed, 2 Oct 2024 16:14:53 +0300 Subject: [PATCH] chore: adding the helm chart --- datetime-server/.helmignore | 23 ++++++++++++++++++ datetime-server/Chart.yaml | 24 +++++++++++++++++++ .../templates/gin-deployment.yml | 0 .../templates/gin-service.yml | 0 .../templates/http-deployment.yml | 0 .../templates/http-service.yml | 0 datetime-server/values.yaml | 0 7 files changed, 47 insertions(+) create mode 100644 datetime-server/.helmignore create mode 100644 datetime-server/Chart.yaml rename gin-deployment.yml => datetime-server/templates/gin-deployment.yml (100%) rename gin-service.yml => datetime-server/templates/gin-service.yml (100%) rename http-deployment.yml => datetime-server/templates/http-deployment.yml (100%) rename http-service.yml => datetime-server/templates/http-service.yml (100%) create mode 100644 datetime-server/values.yaml diff --git a/datetime-server/.helmignore b/datetime-server/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/datetime-server/.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/datetime-server/Chart.yaml b/datetime-server/Chart.yaml new file mode 100644 index 0000000..0a57ddb --- /dev/null +++ b/datetime-server/Chart.yaml @@ -0,0 +1,24 @@ +apiVersion: v2 +name: datetime-server +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/gin-deployment.yml b/datetime-server/templates/gin-deployment.yml similarity index 100% rename from gin-deployment.yml rename to datetime-server/templates/gin-deployment.yml diff --git a/gin-service.yml b/datetime-server/templates/gin-service.yml similarity index 100% rename from gin-service.yml rename to datetime-server/templates/gin-service.yml diff --git a/http-deployment.yml b/datetime-server/templates/http-deployment.yml similarity index 100% rename from http-deployment.yml rename to datetime-server/templates/http-deployment.yml diff --git a/http-service.yml b/datetime-server/templates/http-service.yml similarity index 100% rename from http-service.yml rename to datetime-server/templates/http-service.yml diff --git a/datetime-server/values.yaml b/datetime-server/values.yaml new file mode 100644 index 0000000..e69de29