Skip to content

Commit cfd9e11

Browse files
authored
Merge pull request #1 from turkenf/bootstrap
Bootstrap provider-upjet-gcp-beta
2 parents 6dd389a + 40c7175 commit cfd9e11

File tree

122 files changed

+205654
-1
lines changed

Some content is hidden

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

122 files changed

+205654
-1
lines changed
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
name: Bug Report
2+
description: Help us diagnose and fix bugs in this provider
3+
labels: [ "bug","needs:triage" ]
4+
title: "[Bug]: "
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
# Thank you for helping to improve this provider!
10+
11+
- If you're not currently using the most recent version of the provider, we recommend upgrading. Your issue might have already been addressed in the latest release.
12+
13+
- type: checkboxes
14+
id: existing_issue
15+
attributes:
16+
label: Is there an existing issue for this?
17+
description: |
18+
Please be sure to search for open issues before raising a new one.
19+
If there is an existing issue, please vote for it by adding a 👍 reaction to it to help us prioritize it.
20+
options:
21+
- label: I have searched the existing issues
22+
required: true
23+
24+
- type: textarea
25+
id: affected
26+
attributes:
27+
label: Affected Resource(s)
28+
description: Please provide the GVK of the affected resource(s). E.g. "cloudplatform.gcp-beta.upbound.io/v1beta1 - ServiceAccount"
29+
placeholder: "* cloudplatform.gcp-beta.upbound.io/v1beta1 - ServiceAccount"
30+
validations:
31+
required: false
32+
33+
- type: textarea
34+
id: mr
35+
attributes:
36+
label: Resource MRs required to reproduce the bug
37+
description: Please provide the example manifests and configurations you use.
38+
validations:
39+
required: false
40+
41+
- type: textarea
42+
id: repro
43+
attributes:
44+
label: Steps to Reproduce
45+
description: Please list the steps required to reproduce the issue.
46+
validations:
47+
required: true
48+
49+
- type: textarea
50+
id: behavior
51+
attributes:
52+
label: What happened?
53+
description: What difference did you observe in the actual behavior compared to what you expected?
54+
validations:
55+
required: true
56+
57+
- type: textarea
58+
id: log
59+
attributes:
60+
label: Relevant Error Output Snippet
61+
description: |
62+
If possible, provide a relevant log from the error or panic output.
63+
render: shell
64+
validations:
65+
required: false
66+
67+
- type: input
68+
id: crossplane_version
69+
attributes:
70+
label: Crossplane Version
71+
placeholder: "X.Y.Z"
72+
validations:
73+
required: true
74+
75+
- type: input
76+
id: provider_version
77+
attributes:
78+
label: Provider Version
79+
placeholder: "X.Y.Z"
80+
validations:
81+
required: true
82+
83+
- type: input
84+
id: kubernetes_version
85+
attributes:
86+
label: Kubernetes Version
87+
placeholder: "use `kubectl version`"
88+
validations:
89+
required: false
90+
91+
- type: input
92+
id: kubernetes_distribution
93+
attributes:
94+
label: Kubernetes Distribution
95+
placeholder: "EKS, AKS, GKE, OpenShift, etc."
96+
validations:
97+
required: false
98+
99+
- type: textarea
100+
id: additional_info
101+
attributes:
102+
label: Additional Info
103+
description: Any additional information you want to add, related issue(s), pull requests, document references, situations specific to your environment, etc.
104+
validations:
105+
required: false
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
2+
3+
SPDX-License-Identifier: CC0-1.0
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Feature Request
3+
about: Help us make this provider more useful
4+
labels: enhancement,needs:triage
5+
---
6+
<!--
7+
Thank you for helping to improve this provider!
8+
9+
Please be sure to search for open issues before raising a new one. We use issues
10+
for bug reports and feature requests.
11+
-->
12+
13+
### What problem are you facing?
14+
15+
<!--
16+
Please tell us a little about your use case - it's okay if it's hypothetical!
17+
Leading with this context helps frame the feature request so we can ensure we
18+
implement it sensibly.
19+
--->
20+
21+
### What could help solve your problem?
22+
23+
<!--
24+
Let us know how you think could help with your use case.
25+
-->
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
2+
3+
SPDX-License-Identifier: CC0-1.0
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: New Resource Request
3+
about: Help us know what resource you need is missing.
4+
labels: new-resource
5+
title: "Request for `INSERT NAME` resource"
6+
---
7+
<!--
8+
Thank you for helping to improve this provider!
9+
10+
Please be sure to search for open issues before raising a new one. We use issues
11+
for bug reports and feature requests.
12+
-->
13+
14+
### What resource do you need?
15+
16+
Terraform Resource Name:
17+
<!--
18+
Please let us know the name of the resource you need.
19+
-->
20+
21+
22+
### What is your use case?
23+
<!--
24+
Help us for prioritization of the resource support by giving more details about
25+
why you need it.
26+
-->
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
2+
3+
SPDX-License-Identifier: CC0-1.0

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!--
2+
Please read through https://git.io/fj2m9 if this is your first time opening a
3+
pull request to this repo. Find us in https://crossplane.slack.com
4+
if you need any help contributing.
5+
-->
6+
7+
### Description of your changes
8+
9+
<!--
10+
Briefly describe what this pull request does. Be sure to direct your
11+
reviewers' attention to anything that needs special consideration.
12+
13+
We love pull requests that resolve an open issue. If yours does, you
14+
can uncomment the below line to indicate which issue your PR fixes, for example
15+
"Fixes #500":
16+
-->
17+
18+
Fixes #
19+
20+
I have:
21+
22+
- [ ] Read and followed Crossplane's [contribution process].
23+
- [ ] Run `make reviewable` to ensure this PR is ready for review.
24+
- [ ] Added `backport release-x.y` labels to auto-backport this PR if necessary.
25+
26+
### How has this code been tested
27+
28+
<!--
29+
Before reviewers can be confident in the correctness of this pull request, it
30+
needs to tested and shown to be correct. Briefly describe the testing that has
31+
already been done or which is planned for this change.
32+
-->
33+
34+
[contribution process]: https://git.io/fj2m9
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
2+
3+
SPDX-License-Identifier: CC0-1.0

.github/renovate.json5

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
// The maximum number of PRs to be created in parallel
7+
"prConcurrentLimit": 5,
8+
// The branches renovate should target
9+
"baseBranches": ["main"],
10+
"ignorePaths": ["design/**"],
11+
"postUpdateOptions": ["gomodTidy"],
12+
// By default renovate will auto detect whether semantic commits have been used
13+
// in the recent history and comply with that, we explicitly disable it
14+
"semanticCommits": "disabled",
15+
// All PRs should have a label
16+
"labels": ["automated"],
17+
// PackageRules disabled below should be enabled in case of vulnerabilities
18+
"vulnerabilityAlerts": {
19+
"enabled": true
20+
},
21+
"packageRules": [
22+
{
23+
// We need to ignore k8s.io/client-go older versions as they switched to
24+
// semantic version and old tags are still available in the repo.
25+
"matchDatasources": [
26+
"go"
27+
],
28+
"matchDepNames": [
29+
"k8s.io/client-go"
30+
],
31+
"allowedVersions": "<1.0"
32+
}, {
33+
// We want a single PR for all the patches bumps of kubernetes related
34+
// dependencies, as most of the times these are all strictly related.
35+
"matchDatasources": [
36+
"go"
37+
],
38+
"groupName": "kubernetes patches",
39+
"matchUpdateTypes": [
40+
"patch",
41+
"digest"
42+
],
43+
"matchPackagePrefixes": [
44+
"k8s.io",
45+
"sigs.k8s.io"
46+
]
47+
}, {
48+
// We want dedicated PRs for each minor and major bumps to kubernetes related
49+
// dependencies.
50+
"matchDatasources": [
51+
"go"
52+
],
53+
"matchUpdateTypes": [
54+
"major",
55+
"minor"
56+
],
57+
"matchPackagePrefixes": [
58+
"k8s.io",
59+
"sigs.k8s.io"
60+
]
61+
}, {
62+
// We want dedicated PRs for each bump to non-kubernetes Go dependencies, but
63+
// only if there are known vulnerabilities in the current version.
64+
"matchDatasources": [
65+
"go"
66+
],
67+
"matchPackagePatterns": [
68+
"*"
69+
],
70+
"enabled": false,
71+
"excludePackagePrefixes": [
72+
"k8s.io",
73+
"sigs.k8s.io"
74+
],
75+
"matchUpdateTypes": [
76+
"major",
77+
],
78+
}, {
79+
// We want a single PR for all minor and patch bumps to non-kubernetes Go
80+
// dependencies, but only if there are known vulnerabilities in the current
81+
// version.
82+
"matchDatasources": [
83+
"go"
84+
],
85+
"matchPackagePatterns": [
86+
"*"
87+
],
88+
"enabled": false,
89+
"excludePackagePrefixes": [
90+
"k8s.io",
91+
"sigs.k8s.io"
92+
],
93+
"matchUpdateTypes": [
94+
"minor",
95+
"patch",
96+
"digest"
97+
],
98+
"groupName": "all non-major go dependencies"
99+
}, {
100+
// We want a single PR for all minor and patch bumps of Github Actions
101+
"matchDepTypes": [
102+
"action"
103+
],
104+
"matchUpdateTypes": [
105+
"minor",
106+
"patch"
107+
],
108+
"groupName": "all non-major github action",
109+
"pinDigests": true
110+
},{
111+
// We want dedicated PRs for each major bump to Github Actions
112+
"matchDepTypes": [
113+
"action"
114+
],
115+
"pinDigests": true
116+
}
117+
]
118+
}

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# SPDX-FileCopyrightText: 2024 The Crossplane Authors <https://crossplane.io>
2+
#
3+
# SPDX-License-Identifier: CC0-1.0
4+
5+
/.cache
6+
/.work
7+
/_output
8+
cover.out
9+
/vendor
10+
/.vendor-new
11+
.DS_Store
12+
.history
13+
kubeconfig
14+
15+
# ignore IDE folders
16+
.vscode/
17+
.idea/
18+
19+
# packages
20+
*.xpkg

0 commit comments

Comments
 (0)