Skip to content

Commit 45f5888

Browse files
wikkyk65278jonas-belubedachtavorima
committed
Initial open source release
Co-authored-by: Felix Wischke <[email protected]> Co-authored-by: Jonas Bender <[email protected]> Co-authored-by: Ludwig Bedacht <[email protected]> Co-authored-by: Mario Valderrama <[email protected]> Co-authored-by: Mohamed Chiheb Ben jemaa <[email protected]> Co-authored-by: Vic Kerr <[email protected]>
0 parents  commit 45f5888

File tree

164 files changed

+17101
-0
lines changed

Some content is hidden

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

164 files changed

+17101
-0
lines changed

.codespellignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
capi
2+
proxmox
3+
capmox
4+
decorder

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
2+
# Ignore build and test binaries.
3+
bin/
4+
testbin/
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Bug report
3+
about: Tell us about a problem you are experiencing
4+
labels: bug
5+
6+
---
7+
8+
9+
**What steps did you take and what happened:**
10+
[A clear and concise description of what the bug is.]
11+
12+
13+
**What did you expect to happen:**
14+
15+
16+
**Anything else you would like to add:**
17+
[Miscellaneous information that will assist in solving the issue.]
18+
19+
20+
**Environment:**
21+
22+
- Cluster-api-provider-proxmox version:
23+
- Kubernetes version: (use `kubectl version`):
24+
- OS (e.g. from `/etc/os-release`):
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Feature enhancement request
3+
about: Suggest an idea for this project
4+
labels: enhancement, feature
5+
6+
---
7+
8+
9+
**Describe the solution you'd like**
10+
[A clear and concise description of what you want to happen.]
11+
12+
13+
**Anything else you would like to add:**
14+
[Miscellaneous information that will assist in solving the issue.]
15+
16+
17+
**Environment:**
18+
19+
- Cluster-api-provider-proxmox version:
20+
- Kubernetes version: (use `kubectl version`):
21+
- OS (e.g. from `/etc/os-release`):
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Report vulnerability
3+
about: Report a security vulnerability
4+
5+
---
6+
7+
**Describe the vulnerability**
8+
[A clear and concise description of what the vulnerability is and what impact it has.]
9+
10+
**How To Reproduce**
11+
Steps to reproduce the behavior:
12+
13+
**How To Fix**
14+
[If available, provide information how users can fix the issue, e.g. downgrading to the last stable release.]
15+
16+
**References**
17+
[Links to relevant information about the vulnerability, e.g. cve.mitre.org.]
18+
19+
**Environment:**
20+
21+
- Cluster-api-provider-proxmox version:
22+
- Kubernetes version: (use `kubectl version`):
23+
- OS (e.g. from `/etc/os-release`):

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*Issue #, if available:*
2+
3+
*Description of changes:*
4+
5+
*Testing performed:*

.github/dependabot.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: "gomod"
5+
directory: "/"
6+
schedule:
7+
interval: "daily"
8+
groups:
9+
kubernetes:
10+
patterns:
11+
- k8s.io/api
12+
- k8s.io/apimachinery
13+
- k8s.io/client-go
14+
15+
- package-ecosystem: "docker"
16+
directory: "/"
17+
schedule:
18+
interval: "weekly"
19+
20+
- package-ecosystem: "github-actions"
21+
directory: "/"
22+
schedule:
23+
interval: "daily"

.github/workflows/codespell.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Helps catch spelling errors
2+
name: Codespell
3+
on: [ pull_request ]
4+
5+
jobs:
6+
codespell:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/[email protected]
10+
- uses: codespell-project/actions-codespell@94259cd8be02ad2903ba34a22d9c13de21a74461 # v2.0
11+
with:
12+
skip: .git,_artifacts,*.sum
13+
ignore_words_file: .codespellignore
14+
check_filenames: true
15+
check_hidden: true
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: container-image
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- release-*
8+
# Sequence of patterns matched against refs/tags
9+
tags:
10+
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
11+
12+
pull_request:
13+
branches:
14+
- main
15+
- release-*
16+
17+
jobs:
18+
image:
19+
name: build image
20+
runs-on: "ubuntu-latest"
21+
steps:
22+
- uses: actions/[email protected]
23+
24+
- name: Docker meta
25+
id: meta
26+
uses: docker/metadata-action@v5
27+
with:
28+
images: ghcr.io/ionos-cloud/cluster-api-provider-proxmox
29+
30+
- name: Login to GitHub Container Registry
31+
if: github.event_name != 'pull_request'
32+
uses: docker/login-action@v3
33+
with:
34+
registry: ghcr.io
35+
username: ${{ secrets.BOT_USERNAME }}
36+
password: ${{ secrets.BOT_PAT }}
37+
38+
- name: Build and push Docker image
39+
uses: docker/build-push-action@v5
40+
with:
41+
context: .
42+
push: ${{ github.event_name != 'pull_request' }}
43+
tags: ${{ steps.meta.outputs.tags }}
44+
labels: ${{ steps.meta.outputs.labels }}
45+
46+
- name: Scan image
47+
if: github.event_name == 'pull_request'
48+
uses: anchore/scan-action@v3
49+
id: scan
50+
with:
51+
image: ${{ steps.meta.outputs.tags }}
52+
add-cpes-if-none: true
53+
output-format: table

.github/workflows/license.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[
2+
{
3+
"include": [ "**/*.go" ],
4+
"license": "hack/boilerplate.go.txt"
5+
},
6+
{
7+
"include": [ "**" ]
8+
}
9+
]

0 commit comments

Comments
 (0)