Skip to content

Commit b4a1c95

Browse files
authored
Merge pull request syseleven#78 from syseleven/go-17.7
upgrade Dockerfile to go-1.17.7
2 parents 966ebe3 + a25e978 commit b4a1c95

4 files changed

Lines changed: 21 additions & 19 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.15.5-alpine AS build_deps
1+
FROM golang:1.17.7-alpine AS build_deps
22

33
RUN apk add --no-cache git
44

README.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is an ACME webhook implementation for the [cert-manager](http://docs.cert-m
44

55
## Prerequisites
66

7-
To use this chart [Helm](https://helm.sh/) must be installed in your Kubernetes cluster. Setting up Kubernetes and Helm and is outside the scope of this README. Please refer to the Kubernetes and Helm documentation. You will also need the [cert-manager](https://github.com/jetstack/cert-manager) from Jetstack. Please refer to the cert-manager [documentation](https://docs.cert-manager.io) for full technical documentation for the project. This README assumes, the cert-manager is installed in the namespace `cert-manager`. Adapt examples accordingly, if you have installed it in a different namespace.
7+
To use this chart [Helm](https://helm.sh/) must be installed in your Kubernetes cluster. Setting up Kubernetes and Helm and is outside the scope of this README. Please refer to the Kubernetes and Helm documentation. You will also need the [cert-manager](https://github.com/cert-manager/cert-manager). Please refer to the cert-manager [documentation](https://docs.cert-manager.io) for full technical documentation for the project. This README assumes, the cert-manager is installed in the namespace `cert-manager`. Adapt examples accordingly, if you have installed it in a different namespace.
88

99
## Deployment
1010

@@ -47,7 +47,7 @@ helm install --name designate-certmanager --namespace=cert-manager designate-cer
4747
To configure your Issuer or ClusterIssuer to use this webhook as a DNS-01 solver use the following reference for a ClusterIssuer template. To use this in production please replace the reference to the Letsencrypt staging api accordingly:
4848

4949
```
50-
apiVersion: certmanager.k8s.io/v1alpha1
50+
apiVersion: cert-manager.io/v1
5151
kind: ClusterIssuer
5252
metadata:
5353
name: letsencrypt-staging
@@ -72,25 +72,27 @@ spec:
7272
You are now ready to create you first certificate resource. The easiest way to accomplish this is to add an annotation to an Ingress rule. Please adapt this example for your own needs:
7373

7474
```
75-
apiVersion: networking.k8s.io/v1beta1
75+
apiVersion: networking.k8s.io/v1
7676
kind: Ingress
7777
metadata:
78-
name: my Ingress
7978
annotations:
80-
# add an annotation indicating the issuer to use.
81-
certmanager.k8s.io/cluster-issuer: letsencrypt-staging
79+
cert-manager.io/cluster-issuer: letsencrypt-staging
80+
name: myingress
8281
spec:
83-
tls:
84-
- hosts:
85-
- my ingress.com
86-
# cert-manager will store the created certificate in this secret.
87-
secretName: myingress-cert
82+
ingressClassName: nginx
8883
rules:
89-
- host: my ingress.com
84+
- host: my.ingress.com
9085
http:
9186
paths:
92-
- path: /
93-
backend:
94-
serviceName: myservice
95-
servicePort: http
87+
- backend:
88+
service:
89+
name: myservice
90+
port:
91+
number: 1234
92+
path: /
93+
pathType: Prefix
94+
tls:
95+
- hosts:
96+
- my.ingress.com
97+
secretName: myingress-cert
9698
```

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/syseleven/designate-certmanager-webhook
22

3-
go 1.15
3+
go 1.17
44

55
require (
66
github.com/cert-manager/cert-manager v1.8.0

helm/designate-certmanager-webhook/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ certManager:
66

77
image:
88
repository: syseleven/designate-certmanager-webhook
9-
tag: 0.2.12
9+
tag: 0.2.17
1010
pullPolicy: IfNotPresent
1111
alpine:
1212
repository: alpine

0 commit comments

Comments
 (0)