From 14970325a44565f0cffdb52df7227872fe7feffa Mon Sep 17 00:00:00 2001 From: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> Date: Sat, 20 Jul 2024 13:53:24 +0530 Subject: [PATCH] checking functionalities of linting Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com> --- common/dex/base/crds.yaml | 12 ++++++------ hack/synchronize-istio-cni-manifests.sh | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/common/dex/base/crds.yaml b/common/dex/base/crds.yaml index edf3af58ab..812236a1fd 100644 --- a/common/dex/base/crds.yaml +++ b/common/dex/base/crds.yaml @@ -25,12 +25,12 @@ kind: ClusterRole metadata: name: dex rules: -- apiGroups: ["dex.coreos.com"] # API group created by dex - resources: ["*"] - verbs: ["*"] -- apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["create"] # To manage its own resources identity must be able to create customresourcedefinitions. + - apiGroups: ["dex.coreos.com"] # API group created by dex + resources: ["*"] + verbs: ["*"] + - apiGroups: ["apiextensions.k8s.io"] + resources: ["customresourcedefinitions"] + verbs: ["create"] # To manage its own resources identity must be able to create customresourcedefinitions. --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRoleBinding diff --git a/hack/synchronize-istio-cni-manifests.sh b/hack/synchronize-istio-cni-manifests.sh index 3512da2651..1f8a22c3e5 100644 --- a/hack/synchronize-istio-cni-manifests.sh +++ b/hack/synchronize-istio-cni-manifests.sh @@ -44,7 +44,7 @@ then fi # Create the branch in the manifests repository - if ! git show-ref --verify --quiet refs/heads/$BRANCH; then +if ! git show-ref --verify --quiet refs/heads/$BRANCH; then git checkout -b $BRANCH else echo "Branch $BRANCH already exists."