From f26d7373ab475c9d069d86e7ac5a9f721f52ae75 Mon Sep 17 00:00:00 2001 From: ashutosham2002 Date: Fri, 19 Jan 2024 19:39:28 +0530 Subject: [PATCH] feat: Modified readme.yaml --- README.yaml | 25 ++++++++----------------- override_values/keda.yaml | 18 ++++++++++++++++++ override_values/reloader.yaml | 21 +++++++++++++++++++++ 3 files changed, 47 insertions(+), 17 deletions(-) create mode 100755 override_values/keda.yaml create mode 100755 override_values/reloader.yaml diff --git a/README.yaml b/README.yaml index 43fe5c4..6b5a709 100644 --- a/README.yaml +++ b/README.yaml @@ -2,25 +2,23 @@ # # This is the canonical configuration for the `README.md` # Run `make readme` to rebuild the `README.md` -# # Name of this project -name : Terraform Module Template - +name: Terraform GOOGLE GKE ADDONS # License of this project license: "APACHE" # Canonical GitHub repo -github_repo: clouddrove/terraform-module-template +github_repo: clouddrove/terraform-google-gke-addons # Badges to display badges: - name: "Latest Release" - image: "https://img.shields.io/github/release/clouddrove/terraform-module-template.svg" - url: "https://github.com/clouddrove/terraform-module-template/releases/latest" + image: "https://img.shields.io/github/release/clouddrove/terraform-google-gke-addons.svg" + url: "https://github.com/clouddrove/terraform-google-gke-addons/releases/latest" - name: "tfsec" - image: "https://github.com/clouddrove/terraform-module-template/actions/workflows/tfsec.yml/badge.svg" - url: "" + image: "https://github.com/clouddrove/terraform-google-gke-addons/actions/workflows/tfsec.yml/badge.svg" + url: "https://github.com/clouddrove/terraform-google-gke-addons/actions/workflows/tfsec.yml" - name: "Licence" image: "https://img.shields.io/badge/License-APACHE-blue.svg" url: "LICENSE.md" @@ -31,14 +29,7 @@ prerequesties: # description of this project description: |- - Terraform module template to create new modules using this as baseline + A Terraform Addons module to customize & install widely used helmchart during or after creation of your AWS EKS cluster. # extra content include: - - "terraform.md" - -# How to use this project -# How to use this project -usage: |- - Here are some examples of how you can use this module in your inventory structure: - ```hcl - ``` + - "terraform.md" \ No newline at end of file diff --git a/override_values/keda.yaml b/override_values/keda.yaml new file mode 100755 index 0000000..95eb94b --- /dev/null +++ b/override_values/keda.yaml @@ -0,0 +1,18 @@ +affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: "cloud.google.com/gke-nodepool" + operator: In + values: + - "general-1" + +## Using limits and requests +resourc_helm_configes: + limits: + cpu: 100m + memory: 512Mi + requests: + cpu: 10m + memory: 128Mi diff --git a/override_values/reloader.yaml b/override_values/reloader.yaml new file mode 100755 index 0000000..1937ac2 --- /dev/null +++ b/override_values/reloader.yaml @@ -0,0 +1,21 @@ + +reloader: + deployment: + # If you wish to run multiple replicas set reloader.enableHA = true + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: "cloud.google.com/gke-nodepool" + operator: In + values: + - "critical" + + resources: + limits: + cpu: "100m" + memory: "512Mi" + requests: + cpu: "10m" + memory: "128Mi"