Commit Graph

131 Commits

Author SHA1 Message Date
Jon Bogaty
12fbe55a91 Allow coredns to be deployed with multicluster support 2022-04-11 11:20:03 -05:00
Manuel Rüger
925ca63e73 Bump to coredns 1.9.1, autoscaler 1.8.5
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-03-24 10:45:34 +01:00
Manuel Rüger
54056fc30b .github: Update workflows
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-03-24 10:33:20 +01:00
Manuel Rüger
579db773ff Upgrade pdb version
Warning: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-03-24 10:16:47 +01:00
Matthias Teich
5c12887ff9 Fix linting issue + set correct version
Signed-off-by: Matthias Teich <matthias.teich@gdata.de>
2022-03-23 00:56:22 +01:00
Matthias Teich
599dcca744 Add optional annotations to coredns deployment
Signed-off-by: Matthias Teich <matthias.teich@gdata.de>
2022-03-23 00:56:22 +01:00
Sarah Hodne
fe3928a3da Allow passing custom arguments to the autoscaler
This can be useful if you have CoreDNS deployments that only serve a
subset of nodes, and you want to use --nodelabels on the autoscaler to
have it scale according to just those nodes.

Signed-off-by: Sarah Hodne <sarah@circleci.com>
2022-03-15 13:31:35 +01:00
Manuel Rüger
f4fcc76492 Bump to CoreDNS 1.8.7
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2022-02-07 08:45:33 +01:00
Craig Sebenik
999770769f bump patch version
Signed-off-by: Craig Sebenik <csebenik@aurora.tech>
2022-02-07 08:28:57 +01:00
Craig Sebenik
3c0c1a5a86 add interval to prometheus service monitor
We have a use-case where we need to modify the default scrape interval
on a number of apps, including coredns.

This PR simply adds support to change it. (It should be backwards
compatible with existing implmentations.)

Test/verification:
```
$ helm template charts/coredns --set prometheus.monitor.enabled=true --set prometheus.monitor.interval=60s |grep servicemonitor.yaml -A 22
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: RELEASE-NAME-coredns
  labels:
    app.kubernetes.io/managed-by: "Helm"
    app.kubernetes.io/instance: "RELEASE-NAME"
    helm.sh/chart: "coredns-1.16.5"
    k8s-app: "coredns"
    kubernetes.io/cluster-service: "true"
    kubernetes.io/name: "CoreDNS"
    app.kubernetes.io/name: coredns
spec:
  selector:
    matchLabels:
      app.kubernetes.io/instance: "RELEASE-NAME"
      k8s-app: "coredns"
      app.kubernetes.io/name: coredns
      app.kubernetes.io/component: metrics
  endpoints:
    - port: metrics
      interval: 60s
```

Signed-off-by: Craig Sebenik <csebenik@aurora.tech>
2022-02-07 08:28:57 +01:00
Manuel Rüger
939b013454 Version bump to 1.8.6
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2021-12-16 21:08:45 +01:00
Seena Fallah
203e46af2a service: add support nodePort for service ports
This will add support to specify nodePort when serviceType is nodePort

Co-authored-by: Yasin Lachini <yasin.lachiny@gmail.com>
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Signed-off-by: Yasin Lachini <yasin.lachiny@gmail.com>
2021-12-16 21:02:21 +01:00
Adam Hamsik
4f13be4324
Merge pull request #44 from RuriRyan/feat/moar_custom_config
Allow to add extra config to the default Corefile
2021-11-08 14:42:12 +01:00
Christoph Manns
78568c8408
Bump chart version
Signed-off-by: Christoph Manns <christoph.manns@ionos.com>
2021-10-25 10:31:48 +02:00
Christoph Manns
f6eaf7e2c1
Allow to add extra config to the default Corefile
With this change it is possible to extra/custom config options
outside of the zones block which enables some further/advanced
customization.

Signed-off-by: Christoph Manns <christoph.manns@ionos.com>
2021-10-20 17:09:42 +02:00
Manuel Rüger
70519f776a Rename stable to charts folder, link README
This is the common approach, stable doesnt make sense.
Also since coredns is the only chart in this repo, link the README
instead.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2021-08-16 08:50:44 +02:00
Tyler Nguyen
b77eed852d add: imagePullSecret support for private container registry
Signed-off-by: Tyler Nguyen <tyler.nguyen1191@gmail.com>
2021-07-24 19:35:08 +02:00
Manuel Rüger
52cc966cb9 Chart: Bump version
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2021-07-22 12:57:09 +02:00
Devon Mizelle
75f9a4abdb Bump HPA to autoscaling/v2beta2
This commit bumps the apiVersion of HorizontalPodAutoscaler to autoscaling/v2beta2

autoscaling/v2beta1 has been deprecated since 1.12 I believe, with it
disappearing in 1.20.

Additionally, v2beta2 adds `spec.behavior`, so allowing people to
template it if needed.

Signed-off-by: Devon Mizelle <devon.mizelle@onepeloton.com>
2021-07-22 12:57:09 +02:00
Devon Mizelle
82b6f179d7 Add support for securityContext
This commit adds an optional value to template out securityContext for
the deployment.

Signed-off-by: Devon Mizelle <devon.mizelle@onepeloton.com>
2021-07-22 12:57:09 +02:00
Tyler Nguyen
ab965d95bb fix: enable livenessProbe for coredns autoscaler deployment
Signed-off-by: Tyler Nguyen <tyler.nguyen1191@gmail.com>
2021-07-22 10:11:37 +02:00
Manuel Rüger
82bb185ffb Version bump to 1.8.4
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2021-06-17 17:22:59 +02:00
Manuel Rüger
f5ed398d4f .github: Update helm test and release actions
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2021-06-07 17:52:44 +02:00
Cameron Boulton
b3c5ccfd29 Bump chart version
Signed-off-by: Cameron Boulton <cameron.boulton@calm.com>
2021-05-27 01:08:25 +02:00
Cameron Boulton
0ad42e6e9b Update README.md for autoscaler.image.tag
Signed-off-by: Cameron Boulton <cameron.boulton@calm.com>
2021-05-27 01:08:25 +02:00
Cameron Boulton
646970ed9f Bump cluster-proportional-autoscaler to 1.8.1
Fixes https://github.com/kubernetes-sigs/cluster-proportional-autoscaler/issues/86

Signed-off-by: Cameron Boulton <cameron.boulton@calm.com>
2021-05-27 01:08:25 +02:00
Adam Hamsik
c1edbbbccb
Merge pull request #15 from iAnomaly/optional-deployment
Allow deployment to be optional
2021-03-17 20:14:50 +01:00
Adam Hamsik
72121b9fd3
Merge pull request #11 from livyfu/service-name-override
Give the ability to override service name separately
2021-03-17 20:14:19 +01:00
Cameron Boulton
c58c7a7b74 Merge remote-tracking branch 'upstream/master' into optional-deployment 2021-03-16 10:44:53 -07:00
Liwei Fu
45ff9bedd2 dummy commit for github action
Signed-off-by: Liwei Fu <livyfu@users.noreply.github.com>
2021-03-16 01:49:22 -07:00
Adam Hamsik
c4e1c99366
Merge pull request #12 from ajayk/readme-fix
change readme to point to coredns helm repo and other doc fixes
2021-03-16 09:46:20 +01:00
Adam Hamsik
4cead2783a
Merge pull request #17 from viceice/fix/release
chore: fix release path
2021-03-16 09:44:28 +01:00
Michael Kriese
662c307f90
chore: fix release path
Signed-off-by: Michael Kriese <michael.kriese@visualon.de>
2021-03-16 06:56:09 +01:00
Liwei Fu
4b1edcef0b
Merge branch 'master' into service-name-override 2021-03-15 13:02:43 -07:00
Liwei Fu
0c7ca332cd set empty string for default name values
Signed-off-by: Liwei Fu <livyfu@users.noreply.github.com>
2021-03-13 08:47:14 -08:00
Cameron Boulton
bc6399ba1f Update README.
Signed-off-by: Cameron Boulton <cameron.boulton@calm.com>
2021-03-12 13:18:12 -08:00
Cameron Boulton
6a5310f339 Bump Chart version.
Signed-off-by: Cameron Boulton <cameron.boulton@calm.com>
2021-03-12 13:18:12 -08:00
Cameron Boulton
e6027cd881 Allow deployment to be optional for bootstrapping autoscaler or HPA against an existing deployment.
Signed-off-by: Cameron Boulton <cameron.boulton@calm.com>
2021-03-12 13:18:12 -08:00
ajayk
0d526542d7 Merge remote-tracking branch 'upstream/master' into readme-fix
Signed-off-by: ajayk <ajaykemparaj@gmail.com>
2021-03-08 09:35:11 -08:00
Adam Hamsik
fad28ec380
Merge pull request #10 from viceice/patch-1
fix: add missing cluster role rules
2021-03-08 13:03:17 +01:00
Adam Hamsik
08da5db6a9 Merge pull request #10 from viceice/patch-1
fix: add missing cluster role rules
Signed-off-by: ajayk <ajaykemparaj@gmail.com>
2021-03-08 13:03:17 +01:00
Adam Hamsik
b0f45fc25a
Merge pull request #8 from mrueg/appversion
Add AppVersion to the deployment labels
2021-03-08 13:02:51 +01:00
Adam Hamsik
5af04e031b Merge pull request #8 from mrueg/appversion
Add AppVersion to the deployment labels
Signed-off-by: ajayk <ajaykemparaj@gmail.com>
2021-03-08 13:02:51 +01:00
Liwei Fu
036cc78e8d add comment and bump minor version
Signed-off-by: Liwei Fu <livyfu@users.noreply.github.com>
2021-03-03 11:31:54 -08:00
ajayk
3c741caf9d Merge branch 'readme-fix' of https://github.com/ajayk/helm into readme-fix
Signed-off-by: ajayk <ajaykemparaj@gmail.com>
2021-03-02 23:10:42 -08:00
ajayk
2b1fb6d528 change readme to point to coredns helm repo and other doc fixes
Signed-off-by: ajayk <ajaykemparaj@gmail.com>
2021-03-02 23:06:39 -08:00
ajayk
d9b7e97ff2 change readme to point to coredns helm repo and other doc fixes
Signed-off-by: ajayk <ajaykemparaj@gmail.com>
2021-03-02 23:05:04 -08:00
Liwei Fu
cc784b57d8 bump chart version
Signed-off-by: Liwei Fu <livyfu@users.noreply.github.com>
2021-02-26 15:57:00 -08:00
Liwei Fu
54e812d9f1 give the ability to override service name separately
Signed-off-by: Liwei Fu <livyfu@users.noreply.github.com>
2021-02-26 15:51:12 -08:00
Michael Kriese
be154352a9
chore: bump chart version
Signed-off-by: Michael Kriese <michael.kriese@visualon.de>
2021-02-26 15:11:42 +01:00