From be92be21cf858f156236f03d13719026b88e376b Mon Sep 17 00:00:00 2001 From: ishaan-tf <158038069+ishaan-tf@users.noreply.github.com> Date: Fri, 24 May 2024 13:40:30 +0530 Subject: [PATCH] Tfy agent stop creating argo project (#362) * remove tfy agent permission to create an argo project * update chart version * update commit sha * Update README.md with readme-generator-for-helm Signed-off-by: ishaan-tf --------- Signed-off-by: ishaan-tf Co-authored-by: ishaan-tf --- charts/tfy-agent/Chart.yaml | 2 +- charts/tfy-agent/README.md | 2 +- charts/tfy-agent/templates/tfy-agent-clusterrole.yaml | 3 --- charts/tfy-agent/values.yaml | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/charts/tfy-agent/Chart.yaml b/charts/tfy-agent/Chart.yaml index b5ba1fff..b5f7f84e 100644 --- a/charts/tfy-agent/Chart.yaml +++ b/charts/tfy-agent/Chart.yaml @@ -15,7 +15,7 @@ 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.2.26-rc.1 +version: 0.2.26-rc.2 # 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 diff --git a/charts/tfy-agent/README.md b/charts/tfy-agent/README.md index 8eb98ae7..6f9cf017 100644 --- a/charts/tfy-agent/README.md +++ b/charts/tfy-agent/README.md @@ -76,7 +76,7 @@ This application has two parts. | `tfyAgent.service.type` | Type for tfyAgent Service | `ClusterIP` | | `tfyAgent.image.repository` | tfyAgent repository | `public.ecr.aws/truefoundrycloud/tfy-agent` | | `tfyAgent.image.pullPolicy` | Pull policy for tfyAgent | `IfNotPresent` | -| `tfyAgent.image.tag` | Overrides the image tag whose default is the chart appVersion. | `ec6ce3be3f568db63b27e40374c551d5146db486` | +| `tfyAgent.image.tag` | Overrides the image tag whose default is the chart appVersion. | `64eb3928c0d3900382fd94e9843efcf9e44735fe` | | `tfyAgent.resources.limits.cpu` | CPU resource limits for tfyAgent container. Advised to only increase the limits and not decrease it | `500m` | | `tfyAgent.resources.limits.memory` | Memory Resource limits for tfyAgent container. Advised to only increase the limits and not decrease it | `512Mi` | | `tfyAgent.resources.limits.ephemeral-storage` | Ephemeral storage Resource limits for tfyAgent container. Advised to only increase the limits and not decrease it | `256Mi` | diff --git a/charts/tfy-agent/templates/tfy-agent-clusterrole.yaml b/charts/tfy-agent/templates/tfy-agent-clusterrole.yaml index 18df6541..495201e4 100644 --- a/charts/tfy-agent/templates/tfy-agent-clusterrole.yaml +++ b/charts/tfy-agent/templates/tfy-agent-clusterrole.yaml @@ -17,8 +17,5 @@ rules: - apiGroups: ["argoproj.io"] resources: ["applications", "rollouts", "workflowtemplates", "workflows"] verbs: ["list", "watch"] - - apiGroups: ["argoproj.io"] - resources: ["appprojects"] - verbs: ["patch", "get"] {{- end }} {{- end }} diff --git a/charts/tfy-agent/values.yaml b/charts/tfy-agent/values.yaml index 13d48dd7..a36a24a9 100644 --- a/charts/tfy-agent/values.yaml +++ b/charts/tfy-agent/values.yaml @@ -167,7 +167,7 @@ tfyAgent: ## pullPolicy: IfNotPresent ## @param tfyAgent.image.tag Overrides the image tag whose default is the chart appVersion. - tag: "ec6ce3be3f568db63b27e40374c551d5146db486" + tag: "64eb3928c0d3900382fd94e9843efcf9e44735fe" ## Define resources requests and limits for single Pods. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/