Skip to content

Commit

Permalink
Merge pull request #15 from RunnerM/develop
Browse files Browse the repository at this point in the history
update to 1.11
  • Loading branch information
RunnerM authored Feb 23, 2023
2 parents cbef791 + 85acb6d commit decfd0f
Show file tree
Hide file tree
Showing 11 changed files with 524 additions and 342 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ _test
_out
oryxBuildBinary
testdata/simply-dns-webhook/config.json
run.json
settings.json

testdata/simply-dns-webhook/simply-credentials.yaml
apiserver.local.config/certificates
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2023 Márton Péntek (runnerm)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
23 changes: 12 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
OS ?= $(shell go env GOOS)
ARCH ?= $(shell go env GOARCH)
GO ?= $(shell which go)
OS ?= $(shell $(GO) env GOOS)
ARCH ?= $(shell $(GO) env GOARCH)

IMAGE_NAME := "webhook"
IMAGE_TAG := "latest"

OUT := $(shell pwd)/_out

KUBE_VERSION=1.21.2
KUBE_VERSION=1.25.0

$(shell mkdir -p "$(OUT)")
export TEST_ASSET_ETCD=_test/kubebuilder/bin/etcd
export TEST_ASSET_KUBE_APISERVER=_test/kubebuilder/bin/kube-apiserver
export TEST_ASSET_KUBECTL=_test/kubebuilder/bin/kubectl
export TEST_ASSET_ETCD=_test/kubebuilder/etcd
export TEST_ASSET_KUBE_APISERVER=_test/kubebuilder/kube-apiserver
export TEST_ASSET_KUBECTL=_test/kubebuilder/kubectl

test: _test/kubebuilder
go test -v .
$(GO) test -v .

_test/kubebuilder:
curl -fsSL https://go.kubebuilder.io/test-tools/$(KUBE_VERSION)/$(OS)/$(ARCH) -o kubebuilder-tools.tar.gz
mkdir -p _test/kubebuilder
tar -xvf kubebuilder-tools.tar.gz
mv kubebuilder/bin _test/kubebuilder/
mv kubebuilder/bin/* _test/kubebuilder/
rm kubebuilder-tools.tar.gz
rm -R kubebuilder

Expand All @@ -36,6 +37,6 @@ build:
rendered-manifest.yaml:
helm template \
--name example-webhook \
--set image.repository=$(IMAGE_NAME) \
--set image.tag=$(IMAGE_TAG) \
deploy/example-webhook > "$(OUT)/rendered-manifest.yaml"
--set image.repository=$(IMAGE_NAME) \
--set image.tag=$(IMAGE_TAG) \
deploy/example-webhook > "$(OUT)/rendered-manifest.yaml"
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ The version compatibility I have tested for can be seen below:

| cert-manager version | simply-dns-webhook version |
|----------------------|----------------------------|
| `1.9.x` | `1.0.3` |
| `1.10.x` | `1.1.0`- `1.1.3` |
| `1.9.x` | `1.0.x` |
| `1.10.x` | `1.1.x` |
| `1.11.x` | `1.2.x` |



Expand All @@ -25,13 +26,13 @@ Add repo:
```
Then:
```shell
helm install my-simply-dns-webhook simply-dns-webhook/simply-dns-webhook --version 1.1.3
helm install my-simply-dns-webhook simply-dns-webhook/simply-dns-webhook --version 1.2.0
```
#### As sub-chart:
```YAML
dependencies:
- name: simply-dns-webhook
version: 1.1.3
version: 1.2.0
repository: https://runnerm.github.io/simply-dns-webhook/
alias: simply-dns-webhook
```
Expand Down Expand Up @@ -127,8 +128,8 @@ The following table lists the configurable parameters of the simply-dns-webhook
| `certManager.namespace` | cert-manager namespace | `cert-manager` |
| `certManager.serviceAccountName` | cert-manager service account name | `cert-manager` |
| `image.repository` | Docker image repository | `deyaeddin/cert-manager-webhook-hetzner` |
| `image.tag` | Docker image tag | `v1.1.1` |
| `image.pullPolicy` | Docker image pull policy | `Always` |
| `image.tag` | Docker image tag | `v1.2.0` |
| `image.pullPolicy` | Docker image pull policy | `IfNotPresent` |
| `nameOverride` | Name override for the chart | `""` |
| `fullnameOverride` | Full name override for the chart | `""` |
| `service.type` | Service type | `ClusterIP` |
Expand Down
30 changes: 21 additions & 9 deletions deploy/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
apiVersion: v1
entries:
simply-dns-webhook:
- apiVersion: v2
appVersion: 1.2.0
created: "2023-02-23T22:01:46.56491796+01:00"
description: A Helm chart for Simply.com dns01 challenge support for cert-manager.
Refer to https://github.com/RunnerM/simply-dns-webhook for documentation.
digest: c6e0b2c00eb84a65fd78a47e0c3119ef03597534018789ee20d1c02a547d2866
icon: https://user-images.githubusercontent.com/51089137/195098737-fc66a30f-6174-45ed-b995-3f2689dafd2e.png
name: simply-dns-webhook
type: application
urls:
- https://runnerm.github.io/simply-dns-webhook/simply-dns-webhook-1.2.0.tgz
version: 1.2.0
- apiVersion: v2
appVersion: 1.1.3
created: "2023-02-22T17:39:26.625603794+01:00"
created: "2023-02-23T22:01:46.564712418+01:00"
description: A Helm chart for Simply.com dns01 challenge support for cert-manager.
Refer to https://github.com/RunnerM/simply-dns-webhook for documentation.
digest: fe67f14159cdaab838f4d12e517163064cf698d4de3a5331eb46cb5dc32ef81f
Expand All @@ -15,7 +27,7 @@ entries:
version: 1.1.3
- apiVersion: v2
appVersion: 1.1.2
created: "2023-02-22T17:39:26.625420566+01:00"
created: "2023-02-23T22:01:46.564507549+01:00"
description: A Helm chart for Simply.com dns01 challenge support for cert-manager.
Refer to https://github.com/RunnerM/simply-dns-webhook for documentation.
digest: 07e4ae8bbdc8fcfedcdf03ba835dc8f4a3c3b58226318f365b5802b3d81e8e82
Expand All @@ -27,7 +39,7 @@ entries:
version: 1.1.2
- apiVersion: v2
appVersion: 1.1.1
created: "2023-02-22T17:39:26.625233781+01:00"
created: "2023-02-23T22:01:46.564299792+01:00"
description: A Helm chart for Simply.com dns01 challenge support for cert-manager.
Refer to https://github.com/RunnerM/simply-dns-webhook for documentation.
digest: ac102e2c99bdbc2cc4c2522043b729cd85783409b6876db33d42cb7dddbb1d18
Expand All @@ -39,7 +51,7 @@ entries:
version: 1.1.1
- apiVersion: v2
appVersion: 1.1.0
created: "2023-02-22T17:39:26.625031116+01:00"
created: "2023-02-23T22:01:46.564087347+01:00"
description: A Helm chart for Simply.com dns01 challenge support for cert-manager.
Refer to https://github.com/RunnerM/simply-dns-webhook for documentation.
digest: f8957d73529e51e1acd498c0c89bdbe431f9de851fb9f0a6524253da560f597e
Expand All @@ -51,7 +63,7 @@ entries:
version: 1.1.0
- apiVersion: v2
appVersion: 1.0.3
created: "2023-02-22T17:39:26.624815517+01:00"
created: "2023-02-23T22:01:46.563861986+01:00"
description: A Helm chart for Simply.com dns01 challenge support for cert-manager.
Refer to https://github.com/RunnerM/simply-dns-webhook for documentation.
digest: 4e6498f38ca6a629c48570d4e8f764324506b4ca9b67c04a3aa5537f0c0ec343
Expand All @@ -63,7 +75,7 @@ entries:
version: 1.0.3
- apiVersion: v2
appVersion: 1.0.0
created: "2023-02-22T17:39:26.62460154+01:00"
created: "2023-02-23T22:01:46.56363733+01:00"
description: A Helm chart for Simply.com dns01 challenge support for cert-manager.
Refer to https://github.com/RunnerM/simply-dns-webhook for documentation.
digest: cf3be17f6203ce9429c2646c5e674a1b23d9749094006f270b3fff19fb237a42
Expand All @@ -74,7 +86,7 @@ entries:
version: 1.0.2
- apiVersion: v2
appVersion: 1.0.0
created: "2023-02-22T17:39:26.624401751+01:00"
created: "2023-02-23T22:01:46.563415377+01:00"
description: A Helm chart for Simply.com dns01 challenge support for cert-manager.
Refer to https://github.com/RunnerM/simply-dns-webhook for documentation.
digest: 569f661f2eacc3fef309d407b772627319e45017e295545c66aa33d5b338e7d9
Expand All @@ -85,7 +97,7 @@ entries:
version: 1.0.1
- apiVersion: v2
appVersion: 1.0.0
created: "2023-02-22T17:39:26.624181192+01:00"
created: "2023-02-23T22:01:46.563180746+01:00"
description: A Helm chart for Simply.com dns01 challenge support for cert-manager.
Refer to https://github.com/RunnerM/simply-dns-webhook for documentation.
digest: 334532be5c3e14f9155ff0afaacfb8227a2e2589402c41b6d3fe262d26467fb4
Expand All @@ -94,4 +106,4 @@ entries:
urls:
- https://runnerm.github.io/simply-dns-webhook/simply-dns-webhook-1.0.0.tgz
version: 1.0.0
generated: "2023-02-22T17:39:26.623805709+01:00"
generated: "2023-02-23T22:01:46.56273951+01:00"
Binary file added deploy/simply-dns-webhook-1.2.0.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions deploy/simply-dns-webhook/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.3
version: 1.2.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.1.3"
appVersion: "1.2.0"

icon: "https://user-images.githubusercontent.com/51089137/195098737-fc66a30f-6174-45ed-b995-3f2689dafd2e.png"
2 changes: 1 addition & 1 deletion deploy/simply-dns-webhook/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ certManager:

image:
repository: ghcr.io/runnerm/simply-dns-webhook
tag: v1.1.3
tag: v1.2.0
pullPolicy: IfNotPresent

nameOverride: ""
Expand Down
Loading

0 comments on commit decfd0f

Please sign in to comment.