Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 37c8db2

Browse files
committed
Ensure config files are in from sigs.k8s.io/cluster-api
1 parent 9498062 commit 37c8db2

File tree

295 files changed

+27169
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+27169
-2
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ all: test manager clusterctl
4343
# vendor
4444
vendor:
4545
$(GO) mod vendor
46+
./hack/update-vendor.sh
4647

4748
# Run tests
4849
test: vendor generate fmt vet manifests

go.vendor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sigs.k8s.io/cluster-api

hack/update-vendor.sh

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/env bash
2+
3+
# Copyright 2019 The Kubernetes Authors.
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# this is here until we can get to cluster-api v0.1.7 which includes this
18+
19+
set -o errexit
20+
set -o nounset
21+
set -o pipefail
22+
23+
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
24+
source "${KUBE_ROOT}/vendor/sigs.k8s.io/cluster-api/hack/ensure-go.sh"
25+
26+
go mod tidy
27+
go mod vendor
28+
29+
# Copy full dependencies if needed.
30+
for dep in $(cat ${KUBE_ROOT}/go.vendor); do
31+
src=$(go mod download -json ${dep} | jq -r .Dir)
32+
dst="${KUBE_ROOT}/vendor/${dep}"
33+
cp -af "${src}/" "${dst}"
34+
chmod -R +w ${dst}
35+
done
36+
37+
go mod verify

tools.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ package main
1919
import (
2020
_ "k8s.io/code-generator"
2121
_ "sigs.k8s.io/controller-tools/cmd/controller-gen"
22+
_ "sigs.k8s.io/cluster-api/hack"
2223
)
2324

vendor/modules.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,14 @@ github.com/onsi/gomega/internal/asyncassertion
114114
github.com/onsi/gomega/internal/testingtsupport
115115
github.com/onsi/gomega/matchers
116116
github.com/onsi/gomega/types
117+
github.com/onsi/gomega/gbytes
118+
github.com/onsi/gomega/gexec
117119
github.com/onsi/gomega/internal/oraclematcher
118120
github.com/onsi/gomega/format
119121
github.com/onsi/gomega/matchers/support/goraph/bipartitegraph
120122
github.com/onsi/gomega/matchers/support/goraph/edge
121123
github.com/onsi/gomega/matchers/support/goraph/node
122124
github.com/onsi/gomega/matchers/support/goraph/util
123-
github.com/onsi/gomega/gbytes
124-
github.com/onsi/gomega/gexec
125125
# github.com/packethost/packngo v0.0.0-20190507131943-1343be729ca2
126126
github.com/packethost/packngo
127127
# github.com/pborman/uuid v1.2.0
@@ -535,6 +535,7 @@ k8s.io/klog
535535
# k8s.io/kube-openapi v0.0.0-20190709113604-33be087ad058
536536
k8s.io/kube-openapi/pkg/util/proto
537537
# sigs.k8s.io/cluster-api v0.1.7
538+
sigs.k8s.io/cluster-api/hack
538539
sigs.k8s.io/cluster-api/cmd/clusterctl/cmd
539540
sigs.k8s.io/cluster-api/pkg/apis/cluster/common
540541
sigs.k8s.io/cluster-api/pkg/apis

vendor/sigs.k8s.io/cluster-api/.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/sigs.k8s.io/cluster-api/.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/sigs.k8s.io/cluster-api/.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/sigs.k8s.io/cluster-api/.gitignore

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/sigs.k8s.io/cluster-api/.golangci.yml

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)