Skip to content

Commit

Permalink
Merge pull request #132 from Crewat/helm-static-clusterip
Browse files Browse the repository at this point in the history
Added static clusterIP to Helm chart
  • Loading branch information
networkop authored Aug 11, 2022
2 parents d6be91d + 06e3d1f commit 37af3ba
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 28 deletions.
Binary file added charts/k8s-gateway-1.1.12.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/k8s-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: k8s-gateway
description: A Helm chart for the k8s_gateway CoreDNS plugin
type: application
version: 1.1.11
version: 1.1.12
appVersion: 0.3.1
maintainers:
- email: mmkashin@gmail.com
Expand Down
5 changes: 3 additions & 2 deletions charts/k8s-gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ The following table lists the configurable parameters of the k8s_gateway chart a
| `serviceAccount.annotations` | ServiceAccount annotations | |
| `service.port` | Service port to expose | `53` |
| `service.type` | The type of service to create (`LoadBalancer`, `NodePort`) | `LoadBalancer` |
| `service.nodePort` | Node port when service type is `NodePort`. Randomly chonsen by Kubernetes if not provided | |
| `service.nodePort` | Node port when service type is `NodePort`. Randomly chosen by Kubernetes if not provided | |
| `service.loadBalancerIP` | The IP address to use when using serviceType `LoadBalancer` | |
| `service.clusterIP` | The IP address to use when using serviceType `ClusterIP`. Randomly chosen by Kubernetes if not provided | |
| `replicaCount` | Number of replicas | `1` |
| `zoneFile` | Inject a custom zone file | `{}` |
| `zoneFile` | Inject a custom zone file | `{}` |
3 changes: 3 additions & 0 deletions charts/k8s-gateway/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ spec:
{{- if and .Values.service.loadBalancerIP (eq .Values.service.type "LoadBalancer") }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end }}
{{- if and .Values.service.clusterIP (eq .Values.service.type "ClusterIP") }}
clusterIP: {{ .Values.service.clusterIP }}
{{- end }}
ports:
- port: {{ .Values.service.port }}
protocol: UDP
Expand Down
1 change: 1 addition & 0 deletions charts/k8s-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ service:
annotations: {}
# nodePort: 30053
# loadBalancerIP: 192.168.1.2
# clusterIP: 10.43.0.53
# externalTrafficPolicy: Local
# externalIPs:
# - 192.168.1.3
Expand Down
63 changes: 38 additions & 25 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,20 @@ entries:
k8s-gateway:
- apiVersion: v2
appVersion: 0.3.1
created: "2022-08-02T11:30:03.7284941+01:00"
created: "2022-08-10T11:06:15.444994645+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 56090b3f30d6d8a9b7ebfeed1a58bc058266794dc41160018342ff32a620a706
maintainers:
- email: mmkashin@gmail.com
name: Michael
name: k8s-gateway
type: application
urls:
- https://ori-edge.github.io/k8s_gateway/charts/k8s-gateway-1.1.12.tgz
version: 1.1.12
- apiVersion: v2
appVersion: 0.3.1
created: "2022-08-10T11:06:15.444611074+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: ccab0ddbe46efbfd92de6317d2643e2bf25a55db1c5dfd7b73cff943c07c0aa5
maintainers:
Expand All @@ -16,7 +29,7 @@ entries:
version: 1.1.11
- apiVersion: v2
appVersion: 0.3.1
created: "2022-08-02T11:30:03.7280881+01:00"
created: "2022-08-10T11:06:15.444234077+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 62d07bba3428f6a68274d77906f490763bbbeafbd270befbd02c4754601f3239
maintainers:
Expand All @@ -29,7 +42,7 @@ entries:
version: 1.1.10
- apiVersion: v2
appVersion: 0.3.0
created: "2022-08-02T11:30:03.731392+01:00"
created: "2022-08-10T11:06:15.447472909+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 336534b4748dd88c9d4e829d9a8527696b5369e4814c3e18c202f12198e7ba97
maintainers:
Expand All @@ -42,7 +55,7 @@ entries:
version: 1.1.9
- apiVersion: v2
appVersion: 0.3.0
created: "2022-08-02T11:30:03.7309731+01:00"
created: "2022-08-10T11:06:15.447088216+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: a856c5b4f473790627848bc472393ade5f9771b66b2dd660d19312763bdfd4a5
maintainers:
Expand All @@ -55,7 +68,7 @@ entries:
version: 1.1.8
- apiVersion: v2
appVersion: 0.3.0
created: "2022-08-02T11:30:03.7305115+01:00"
created: "2022-08-10T11:06:15.446713172+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 5fc39d5e8ad2f64545e747e82d1a097115f1b95fc76405791351c653ef3f1fde
maintainers:
Expand All @@ -68,7 +81,7 @@ entries:
version: 1.1.7
- apiVersion: v2
appVersion: 0.2.4
created: "2022-08-02T11:30:03.730117+01:00"
created: "2022-08-10T11:06:15.446351062+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: f66d0497f55b9dda1bc8145de86f6a1042476482b6849ba05fa019c66bdb8fd2
maintainers:
Expand All @@ -81,7 +94,7 @@ entries:
version: 1.1.6
- apiVersion: v2
appVersion: 0.2.3
created: "2022-08-02T11:30:03.7297224+01:00"
created: "2022-08-10T11:06:15.4460142+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 3be4dd3ee183c4cec91bd0a40c08b7114ebc5a3a8153621a7432af11592ddb29
maintainers:
Expand All @@ -94,7 +107,7 @@ entries:
version: 1.1.5
- apiVersion: v2
appVersion: 0.2.2
created: "2022-08-02T11:30:03.7292829+01:00"
created: "2022-08-10T11:06:15.445679301+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 9889676767632d7634236e79338fd6877a37d1dc7a56e9f32cb00b1b78589814
maintainers:
Expand All @@ -107,7 +120,7 @@ entries:
version: 1.1.4
- apiVersion: v2
appVersion: 0.2.2
created: "2022-08-02T11:30:03.7288723+01:00"
created: "2022-08-10T11:06:15.445332559+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: b82cc1cd106db91b03ce9249176a3b8c58ffa70ed83f4bab907910a041e04620
maintainers:
Expand All @@ -120,7 +133,7 @@ entries:
version: 1.1.2
- apiVersion: v2
appVersion: 0.2.1
created: "2022-08-02T11:30:03.7276452+01:00"
created: "2022-08-10T11:06:15.443853322+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: a6946aa35fed1b67ab968d282cc0cbbbb3136c6781563df7496b78e6e88ca8e1
maintainers:
Expand All @@ -133,7 +146,7 @@ entries:
version: 1.1.1
- apiVersion: v2
appVersion: 0.2.0
created: "2022-08-02T11:30:03.7271984+01:00"
created: "2022-08-10T11:06:15.443466505+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 74abb009602b062b805dbd96fb07cbd4c725e8dee7cd980bab0149fba1030c3a
maintainers:
Expand All @@ -146,7 +159,7 @@ entries:
version: 1.1.0
- apiVersion: v2
appVersion: 0.1.8
created: "2022-08-02T11:30:03.7222967+01:00"
created: "2022-08-10T11:06:15.439955131+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: df847a43e164794eb49a0d4d2d81657dd4043524862f369ae995b2b70ecbb105
maintainers:
Expand All @@ -159,7 +172,7 @@ entries:
version: 1.0.12
- apiVersion: v2
appVersion: 0.1.8
created: "2022-08-02T11:30:03.7218911+01:00"
created: "2022-08-10T11:06:15.439633678+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 2d1fe6ac3011d03642a77ddaa3cbe9cc7a99f19226f33f4ae18ca0d413155c0e
maintainers:
Expand All @@ -172,7 +185,7 @@ entries:
version: 1.0.11
- apiVersion: v2
appVersion: 0.1.8
created: "2022-08-02T11:30:03.7214399+01:00"
created: "2022-08-10T11:06:15.4393048+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 796c8f7636ef4f33c43afb0ef947817ba4caa1ace29de3d903ee2fc831fd3edf
maintainers:
Expand All @@ -185,7 +198,7 @@ entries:
version: 1.0.10
- apiVersion: v2
appVersion: 0.1.8
created: "2022-08-02T11:30:03.7268075+01:00"
created: "2022-08-10T11:06:15.44246237+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 8d194587b8f31ed6230b2b2fcb2215f3f52e0be1a8ff754007b5a94731b7bcfb
maintainers:
Expand All @@ -198,7 +211,7 @@ entries:
version: 1.0.9
- apiVersion: v2
appVersion: 0.1.8
created: "2022-08-02T11:30:03.7263855+01:00"
created: "2022-08-10T11:06:15.442141828+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 8edd4edd05d76253b81ecfaafab51f171fa725bd81b6b26fef81efa26e9374d7
maintainers:
Expand All @@ -211,7 +224,7 @@ entries:
version: 1.0.8
- apiVersion: v2
appVersion: 0.1.8
created: "2022-08-02T11:30:03.7244882+01:00"
created: "2022-08-10T11:06:15.441842446+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: f162c5063236777b2cc238a03162e39ac2b2bbea46e0c31c6ae01eb88d9ce5c9
maintainers:
Expand All @@ -224,7 +237,7 @@ entries:
version: 1.0.7
- apiVersion: v2
appVersion: 0.1.8
created: "2022-08-02T11:30:03.7241467+01:00"
created: "2022-08-10T11:06:15.441529187+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: cb09166912e10c092c0f15ff5aee21e5f6a57d5ffc02047695991d0f7fc019d6
maintainers:
Expand All @@ -237,7 +250,7 @@ entries:
version: 1.0.6
- apiVersion: v2
appVersion: 0.1.7
created: "2022-08-02T11:30:03.7237778+01:00"
created: "2022-08-10T11:06:15.441216089+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 4941bcbfc5d054cf958befda1a65a2e32773aaddd59af4b2f9420353465f0be4
maintainers:
Expand All @@ -250,7 +263,7 @@ entries:
version: 1.0.5
- apiVersion: v2
appVersion: 0.1.6
created: "2022-08-02T11:30:03.7234023+01:00"
created: "2022-08-10T11:06:15.440904094+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 8753d366172031ce0386c50f6857c1ac6e1f094f9ed03ad01e33f3619c6e7880
maintainers:
Expand All @@ -263,7 +276,7 @@ entries:
version: 1.0.4
- apiVersion: v2
appVersion: 0.1.5
created: "2022-08-02T11:30:03.7230085+01:00"
created: "2022-08-10T11:06:15.440590274+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 2aa879712ad7ce33424b5f3477acf6a90480ba317e63dd1f343f4beac66b1c0e
maintainers:
Expand All @@ -276,7 +289,7 @@ entries:
version: 1.0.3
- apiVersion: v2
appVersion: 0.1.4
created: "2022-08-02T11:30:03.7226561+01:00"
created: "2022-08-10T11:06:15.440259463+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 145ce2e722a9d8c95f147a5d608e00a5c47addbaeb9ea4882491e1e185c949b4
maintainers:
Expand All @@ -289,7 +302,7 @@ entries:
version: 1.0.2
- apiVersion: v2
appVersion: 0.1.4
created: "2022-08-02T11:30:03.7209405+01:00"
created: "2022-08-10T11:06:15.43900087+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 8f780ec9b25ca9d4461c076203a7d31889499a134086df72ce26096f0eb71ce9
maintainers:
Expand All @@ -302,7 +315,7 @@ entries:
version: 1.0.1
- apiVersion: v2
appVersion: 0.1.0
created: "2022-08-02T11:30:03.7203619+01:00"
created: "2022-08-10T11:06:15.438705906+01:00"
description: A Helm chart for the k8s_gateway CoreDNS plugin
digest: 2744fcdd9840590cb9f86099135229ca2fd8b3a140bcf141a3ed206191dfd3f6
maintainers:
Expand All @@ -313,4 +326,4 @@ entries:
urls:
- https://ori-edge.github.io/k8s_gateway/charts/k8s-gateway-1.0.0.tgz
version: 1.0.0
generated: "2022-08-02T11:30:03.719555+01:00"
generated: "2022-08-10T11:06:15.438310533+01:00"

0 comments on commit 37af3ba

Please sign in to comment.