-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d623309
Showing
4,970 changed files
with
1,629,247 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Ignore everything | ||
** | ||
|
||
# Exclude folders relevant for build | ||
!.git/ | ||
!.dockerignore | ||
!charts/ | ||
!cmd/ | ||
!docs/ | ||
!example/ | ||
!hack/ | ||
!pkg/ | ||
!test/ | ||
!tools/ | ||
!vendor/ | ||
|
||
!.gitignore | ||
!.golangci.yaml | ||
|
||
!go.mod | ||
!go.sum | ||
|
||
!VERSION | ||
!Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Bug Report | ||
about: Report a bug encountered while working with this Gardener extension | ||
labels: kind/bug | ||
|
||
--- | ||
|
||
**How to categorize this issue?** | ||
<!-- | ||
Please select area, kind, and priority for this issue. This helps the community categorizing it. | ||
Replace below TODOs or exchange the existing identifiers with those that fit best in your opinion. | ||
If multiple identifiers make sense you can also state the commands multiple times, e.g. | ||
/area control-plane | ||
/area auto-scaling | ||
... | ||
"/area" identifiers: audit-logging|auto-scaling|backup|certification|control-plane-migration|control-plane|cost|delivery|dev-productivity|disaster-recovery|documentation|high-availability|logging|metering|monitoring|networking|open-source|ops-productivity|os|performance|quality|robustness|scalability|security|storage|testing|usability|user-management | ||
"/kind" identifiers: api-change|bug|cleanup|discussion|enhancement|epic|impediment|poc|post-mortem|question|regression|task|technical-debt|test | ||
--> | ||
/area TODO | ||
/kind bug | ||
/platform gcp | ||
|
||
**What happened**: | ||
|
||
**What you expected to happen**: | ||
|
||
**How to reproduce it (as minimally and precisely as possible)**: | ||
|
||
**Anything else we need to know?**: | ||
|
||
**Environment**: | ||
|
||
- Gardener version (if relevant): | ||
- Extension version: | ||
- Kubernetes version (use `kubectl version`): | ||
- Cloud provider or hardware configuration: | ||
- Others: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: Enhancement Request | ||
about: Suggest an enhancement for this extension | ||
labels: kind/enhancement | ||
|
||
--- | ||
|
||
**How to categorize this issue?** | ||
<!-- | ||
Please select area, kind, and priority for this issue. This helps the community categorizing it. | ||
Replace below TODOs or exchange the existing identifiers with those that fit best in your opinion. | ||
If multiple identifiers make sense you can also state the commands multiple times, e.g. | ||
/area control-plane | ||
/area auto-scaling | ||
... | ||
"/area" identifiers: audit-logging|auto-scaling|backup|certification|control-plane-migration|control-plane|cost|delivery|dev-productivity|disaster-recovery|documentation|high-availability|logging|metering|monitoring|networking|open-source|ops-productivity|os|performance|quality|robustness|scalability|security|storage|testing|usability|user-management | ||
"/kind" identifiers: api-change|bug|cleanup|discussion|enhancement|epic|impediment|poc|post-mortem|question|regression|task|technical-debt|test | ||
--> | ||
/area TODO | ||
/kind enhancement | ||
/platform gcp | ||
|
||
**What would you like to be added**: | ||
|
||
**Why is this needed**: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Flaking Test | ||
about: Report flaky tests or jobs in Gardener CI | ||
title: "[Flaky Test] FLAKING TEST/SUITE" | ||
labels: kind/flake | ||
|
||
--- | ||
|
||
<!-- Please only use this template for submitting reports about flaky tests or jobs (pass or fail with no underlying change in code) in Gardener CI --> | ||
|
||
**How to categorize this issue?** | ||
<!-- | ||
Please select area, kind, and priority for this issue. This helps the community categorizing it. | ||
Replace below TODOs or exchange the existing identifiers with those that fit best in your opinion. | ||
If multiple identifiers make sense you can also state the commands multiple times, e.g. | ||
/area control-plane | ||
/area auto-scaling | ||
... | ||
"/area" identifiers: audit-logging|auto-scaling|backup|certification|control-plane-migration|control-plane|cost|delivery|dev-productivity|disaster-recovery|documentation|high-availability|logging|metering|monitoring|networking|open-source|ops-productivity|os|performance|quality|robustness|scalability|security|storage|testing|usability|user-management | ||
"/kind" identifiers: api-change|bug|cleanup|discussion|enhancement|epic|impediment|poc|post-mortem|question|regression|task|technical-debt|test | ||
--> | ||
/area testing | ||
/kind flake | ||
/platform gcp | ||
|
||
**Which test(s)/suite(s) are flaking**: | ||
|
||
**CI link**: | ||
|
||
**Reason for failure**: | ||
|
||
**Anything else we need to know**: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
name: Support Request | ||
about: Support request or question relating to this extension | ||
labels: kind/question | ||
|
||
--- | ||
|
||
<!-- | ||
STOP -- PLEASE READ! | ||
GitHub is not the right place for support requests. | ||
If you're looking for help, please post your question on the [Kubernetes Slack](http://slack.k8s.io/) ([#gardener](https://kubernetes.slack.com/messages/gardener) channel) or join our [bi-weekly meetings](https://gardener.cloud/docs/contribute/#bi-weekly-meetings). | ||
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
**How to categorize this PR?** | ||
<!-- | ||
Please select area, kind, and priority for this pull request. This helps the community categorizing it. | ||
Replace below TODOs or exchange the existing identifiers with those that fit best in your opinion. | ||
If multiple identifiers make sense you can also state the commands multiple times, e.g. | ||
/area control-plane | ||
/area auto-scaling | ||
... | ||
"/area" identifiers: audit-logging|auto-scaling|backup|certification|control-plane-migration|control-plane|cost|delivery|dev-productivity|disaster-recovery|documentation|high-availability|logging|metering|monitoring|networking|open-source|ops-productivity|os|performance|quality|robustness|scalability|security|storage|testing|usability|user-management | ||
"/kind" identifiers: api-change|bug|cleanup|discussion|enhancement|epic|impediment|poc|post-mortem|question|regression|task|technical-debt|test | ||
For Gardener Enhancement Proposals (GEPs), please check the following [documentation](https://github.com/gardener/gardener/tree/master/docs/proposals/README.md) before submitting this pull request. | ||
--> | ||
/area TODO | ||
/kind TODO | ||
/platform gcp | ||
|
||
**What this PR does / why we need it**: | ||
|
||
**Which issue(s) this PR fixes**: | ||
Fixes # | ||
|
||
**Special notes for your reviewer**: | ||
|
||
**Release note**: | ||
<!-- | ||
Write your release note: | ||
1. Enter your release note in the below block. | ||
2. If no release note is required, just write "NONE" within the block. | ||
Format of block header: <category> <target_group> | ||
Possible values: | ||
- category: breaking|feature|bugfix|doc|other | ||
- target_group: user|operator|developer|dependency | ||
--> | ||
```other operator | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Default | ||
|
||
on: | ||
workflow_dispatch: {} | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
default: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Login to Github Packages | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GHCR_TOKEN }} | ||
- name: Build image and push to Docker Hub and GitHub Container Registry | ||
uses: docker/build-push-action@v2 | ||
with: | ||
push: true | ||
target: gardener-extension-provider-dns-cloudflare | ||
context: ./ | ||
# Note: tags has to be all lower-case | ||
tags: | | ||
ghcr.io/schrodit/gardener-extension-provider-dns-cloudflare:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Release | ||
|
||
on: | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
default: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v1 | ||
with: | ||
token: ${{ secrets.GHCR_TOKEN }} | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Login to Github Packages | ||
uses: docker/login-action@v1 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GHCR_TOKEN }} | ||
- name: Set Version | ||
run: echo "::set-output name=version::$(cat ./VERSION)" | ||
id: version | ||
- name: Build image and push to Docker Hub and GitHub Container Registry | ||
uses: docker/build-push-action@v2 | ||
with: | ||
push: true | ||
target: gardener-extension-provider-dns-cloudflare | ||
context: ./ | ||
# Note: tags has to be all lower-case | ||
tags: | | ||
ghcr.io/schrodit/gardener-extension-provider-dns-cloudflare:${{ steps.version.outputs.version }} | ||
- run: git config --global user.name 'schrodit' | ||
- run: git config --global user.email 'noreply@timschrodi.tech' | ||
- uses: ncipollo/release-action@v1 | ||
with: | ||
token: ${{ secrets.GHCR_TOKEN }} | ||
tag: ${{ steps.version.outputs.version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
run: | ||
concurrency: 4 | ||
deadline: 10m | ||
|
||
linters: | ||
disable: | ||
- unused | ||
enable: | ||
- revive | ||
|
||
issues: | ||
exclude-use-default: false | ||
exclude: | ||
# revive | ||
- var-naming # ((var|const|struct field|func) .* should be .* | ||
- dot-imports # should not use dot imports | ||
- package-comments # package comment should be of the form | ||
- indent-error-flow # if block ends with a return statement, so drop this else and outdent its block | ||
- "exported: (type|func) name will be used as .* by other packages, and that stutters;" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# gardener-extension-provider-gcp maintainers | ||
* @gardener/gardener-extension-provider-gcp-maintainers @gardener/gardener-maintainers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Please refer to the [Gardener contributor guide](https://github.com/gardener/documentation/blob/master/CONTRIBUTING.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
############# builder | ||
FROM golang:1.18 AS builder | ||
|
||
WORKDIR /go/src/github.com/schrodit/gardener-extension-provider-dns-cloudflare | ||
COPY . . | ||
RUN make install | ||
|
||
############# base image | ||
FROM alpine:3.13.7 AS base | ||
|
||
############# gardener-extension-provider-dns-cloudflare | ||
FROM base AS gardener-extension-provider-dns-cloudflare | ||
|
||
COPY charts /charts | ||
COPY --from=builder /go/bin/gardener-extension-provider-dns-cloudflare /gardener-extension-provider-dns-cloudflare | ||
ENTRYPOINT ["/gardener-extension-provider-dns-cloudflare"] |
Oops, something went wrong.