Skip to content

Commit

Permalink
checking functionalities of linting
Browse files Browse the repository at this point in the history
Signed-off-by: hansinikarunarathne <107214435+hansinikarunarathne@users.noreply.github.com>
  • Loading branch information
hansinikarunarathne committed Jul 20, 2024
1 parent ecf78aa commit 1497032
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions common/dex/base/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 28 in common/dex/base/crds.yaml

View workflow job for this annotation

GitHub Actions / format_YAML_files

28:5 [indentation] wrong indentation: expected 0 but found 4

Check warning on line 28 in common/dex/base/crds.yaml

View workflow job for this annotation

GitHub Actions / format_YAML_files

28:37 [comments] too few spaces before comment
resources: ["*"]
verbs: ["*"]
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["create"] # To manage its own resources identity must be able to create customresourcedefinitions.

Check warning on line 33 in common/dex/base/crds.yaml

View workflow job for this annotation

GitHub Actions / format_YAML_files

33:25 [comments] too few spaces before comment
---

Check warning on line 34 in common/dex/base/crds.yaml

View workflow job for this annotation

GitHub Actions / format_YAML_files

34:1 [document-start] found forbidden document start "---"
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down
2 changes: 1 addition & 1 deletion hack/synchronize-istio-cni-manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 1497032

Please sign in to comment.