Commit graph

11 commits

Author SHA1 Message Date
Michael Lescisin
c1db14cfbf
Add the ability to use a DNSimple User API token (#26)
* Allow for the DNSimple account ID to be specified via the dnssimple.accountID value

* Allow for the DNSimple account ID to be manually specified via the DNSIMPLE_ACCOUNT_ID environment variable

Fix incorrect variable specification in main.go

* Allow for the DNSimple account ID to be manually specified via the DNSIMPLE_ACCOUNT_ID environment variable

Fix missing return of nil in main.go

* Fix incorrect double-declaration of env section in deployment.yaml

* Fix incorrect logic when handling DNSIMPLE_ACCOUNT_ID environment variable

* The client.Zones.GetZone check isn't needed in the getExistingRecord function and it prevents User API tokens from being used for authentication - only Account API tokens would work

* Incorporate changes from https://github.com/puzzle/cert-manager-webhook-dnsimple/pull/29 so that the DNSimple accountID may be obtained from the Issuer config if a DNSimple User API token is being used

* Remove unused variable DnsimpleAccountId

* Fix deploy/dnsimple/templates/deployment.yaml - DNSIMPLE_ACCOUNT_ID environment variable doesn't do anything anymore so we can delete it

* Pass the .Values.dnsimple.accountID value down to the staging and production ClusterIssuer configs

* Update README.md with documentation on the dnsimple.accountID parameter

* The ClusterIssuer configs must quote the accountID value so that it is interpreted as a string and not as a number

* Fix indentation level of imagePullSecret in deployment.yaml
2024-04-22 09:14:28 +02:00
Martin Parm
e9100f8f63 Support newer stable APIs in Helm chart
- Switch from apiregistration.k8s.io/v1beta1 to apiregistration.k8s.io/v1 where available
- Switch from rbac.authorization.k8s.io/v1beta1 to rbac.authorization.k8s.io/v1 where available
- Switch from cert-manager.io/v1alpha2 to cert-manager.io/v1 where available
2021-12-01 15:59:24 +01:00
Arne Diekmann
4516234f2c
Merge pull request #10 from Peltarion/parmus/helm-pullsecret
feat: add support for imagePullSecret
2021-03-25 10:12:08 +01:00
Arne Diekmann
61c77c010b
Merge pull request #9 from Peltarion/parmus/helm-secret
feat: add support for using an existing token secret
2021-03-25 10:11:35 +01:00
Martin Parm
6c88ff57b3 Add support for imagePullSecret
Add variable image.pullSecret to Helm chart to support specifying an
image pull secret. This is mostly useful for people running an in-house
fork of cert-manager-webhook-dnsimple.
2021-03-25 09:31:07 +01:00
Martin Parm
3142c584af Add support for using an existing token secret
- Add variable dnsimple.existingTokenSecret to the Helm chart
  to support using an existing secret. This is useful e.g. in
  combination with https://github.com/bitnami-labs/sealed-secrets.
- Add variable dnsimple.tokenSecretName to support configuring the
  name of the token secret.
2021-01-20 01:02:53 +01:00
Martin Parm
1880524180 Fetch account ID from DNSimple API
This means that users don't have to configure the account ID explicitly. This code is inspired by the DNSimple
provider in External-DNS.
2021-01-19 23:43:03 +01:00
Arne Diekmann
c5b7612304 chore: change apiVersion to v1 2020-12-09 14:41:03 +01:00
cmacrae
0acec981b3
fix: explicit pki durations to match resulting objects
When using a GitOps deployment model, these resources are always
considered "out of sync", as the resulting Certificate object's
'duration' field also specifies minutes & seconds.

These changes are essentially a no-op, but match the object, for
GitOps compatability.
2020-08-25 09:36:52 +01:00
Arne Diekmann
37416461eb fix: quote account id in staging cluster issuer
fixes #1
2020-07-29 11:55:18 +02:00
Arne Diekmann
588325118e feat: initial commit for use with DNSimple 2020-05-26 16:11:53 +02:00