From ddf1d72fbd63dc3744f8ce328ebff583114e2b3b Mon Sep 17 00:00:00 2001 From: roi-codefresh <60569147+roi-codefresh@users.noreply.github.com> Date: Thu, 5 Aug 2021 10:25:25 +0300 Subject: [PATCH] bump argocd (#46) --- Makefile | 2 +- docs/releases/release_notes.md | 4 ++-- manifests/argo-cd/default-rbac.yaml | 5 +++-- manifests/argo-cd/kustomization.yaml | 2 +- manifests/runtime.yaml | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index acd9a43be..0170ed011 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION=v0.0.50 +VERSION=v0.0.51 OUT_DIR=dist YEAR?=$(shell date +"%Y") diff --git a/docs/releases/release_notes.md b/docs/releases/release_notes.md index 0a7d85651..e1c002055 100644 --- a/docs/releases/release_notes.md +++ b/docs/releases/release_notes.md @@ -8,7 +8,7 @@ ### Linux ```bash # download and extract the binary -curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.50/cf-linux-amd64.tar.gz | tar zx +curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.51/cf-linux-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./cf-linux-amd64 /usr/local/bin/cf @@ -20,7 +20,7 @@ cf version ### Mac ```bash # download and extract the binary -curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.50/cf-darwin-amd64.tar.gz | tar zx +curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.0.51/cf-darwin-amd64.tar.gz | tar zx # move the binary to your $PATH mv ./cf-darwin-amd64 /usr/local/bin/cf diff --git a/manifests/argo-cd/default-rbac.yaml b/manifests/argo-cd/default-rbac.yaml index 3658b9d7a..4751047d0 100644 --- a/manifests/argo-cd/default-rbac.yaml +++ b/manifests/argo-cd/default-rbac.yaml @@ -1,11 +1,12 @@ +# allow default service account to read the codefresh-cm configmap apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: codefresh-config-reader rules: - apiGroups: [""] - resources: [ "configmaps", "secrets" ] - resourceNames: [ "codefresh-cm", "codefresh-token" ] + resources: ["configmaps", "secrets"] + resourceNames: ["codefresh-cm", "codefresh-token"] verbs: ["get"] --- diff --git a/manifests/argo-cd/kustomization.yaml b/manifests/argo-cd/kustomization.yaml index 72c758afa..4e8b7e454 100644 --- a/manifests/argo-cd/kustomization.yaml +++ b/manifests/argo-cd/kustomization.yaml @@ -7,7 +7,7 @@ resources: images: - name: quay.io/argoproj/argocd newName: quay.io/codefresh/argocd - newTag: v2.1.0-rc2 + newTag: v2.1.0-rc3 # will be effective on argo-cd 2.1 configMapGenerator: diff --git a/manifests/runtime.yaml b/manifests/runtime.yaml index 291953587..d955bf018 100644 --- a/manifests/runtime.yaml +++ b/manifests/runtime.yaml @@ -5,7 +5,7 @@ metadata: namespace: "{{ namespace }}" spec: defVersion: 1.0.0 - version: 0.0.50 + version: 0.0.51 bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd components: - name: events