[pod-gateway] Support for copying DNS search and options fields (#938)

This commit is contained in:
Angel Nunez Mencias 2021-06-07 06:43:24 +02:00 committed by GitHub
parent bc8aee9648
commit 6e261d4537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 53 additions and 11 deletions

View File

@ -1,15 +1,16 @@
apiVersion: v2
appVersion: 1.2.3
appVersion: 1.2.5
description: Admision controller to change the default gateway and DNS server of PODs
name: pod-gateway
version: 2.0.0
version: 2.1.0
kubeVersion: ">=1.16.0-0"
keywords:
- pod-gateway
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/pod-gateway
icon: https://pod-gateway.org/icon
sources:
- https://github.com/pod-gateway/pod-gateway-docker
- https://github.com/k8s-at-home/gateway-admision-controller
- https://github.com/k8s-at-home/pod-gateway
maintainers:
- name: angelnu
email: git@angelnu.com

View File

@ -1,6 +1,6 @@
# pod-gateway
![Version: 2.0.0](https://img.shields.io/badge/Version-2.0.0-informational?style=flat-square) ![AppVersion: 1.2.3](https://img.shields.io/badge/AppVersion-1.2.3-informational?style=flat-square)
![Version: 2.1.0](https://img.shields.io/badge/Version-2.1.0-informational?style=flat-square) ![AppVersion: 1.2.5](https://img.shields.io/badge/AppVersion-1.2.5-informational?style=flat-square)
Admision controller to change the default gateway and DNS server of PODs
@ -8,7 +8,8 @@ Admision controller to change the default gateway and DNS server of PODs
## Source Code
* <https://github.com/pod-gateway/pod-gateway-docker>
* <https://github.com/k8s-at-home/gateway-admision-controller>
* <https://github.com/k8s-at-home/pod-gateway>
## Requirements
@ -67,6 +68,9 @@ helm install pod-gateway k8s-at-home/pod-gateway -f values.yaml
## Custom configuration
Please check [this guide](https://docs.k8s-at-home.com/guides/pod-gateway/)
for the full instructions.
You need to add `routed-gateway=true` to the namespaces with PODs you
want to route through this POD gateway. If needed the label name can be changed
in .Values.
@ -114,7 +118,7 @@ certificates. It does not install it as dependency to avoid conflicts.
| command[0] | string | `"/bin/gateway_sidecar.sh"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/k8s-at-home/pod-gateway"` | |
| image.tag | string | `"v1.2.3"` | |
| image.tag | string | `"v1.2.5"` | |
| initContainers[0].command[0] | string | `"/bin/gateway_init.sh"` | |
| initContainers[0].image | string | `nil` | Will be set automatically |
| initContainers[0].imagePullPolicy | string | `nil` | Will be set automatically |
@ -151,7 +155,7 @@ certificates. It does not install it as dependency to avoid conflicts.
| webhook.args[5] | string | `"--DNSPolicy=None"` | |
| webhook.image.pullPolicy | string | `"IfNotPresent"` | |
| webhook.image.repository | string | `"ghcr.io/k8s-at-home/gateway-admision-controller"` | |
| webhook.image.tag | string | `"v3.2.0"` | |
| webhook.image.tag | string | `"v3.3.1"` | |
| webhook.inserted.init.cmd | string | `"/bin/client_init.sh"` | |
| webhook.inserted.init.mountPath | string | `"/config"` | |
| webhook.inserted.init.pullPolicy | string | `nil` | Will be set automatically |
@ -175,6 +179,23 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.1.0]
#### Added
- set Search and Options when DNSPolicy is "None"
- update instructions
#### Changed
- N/A
#### Removed
- N/A
[2.1.0]: #2.1.0
### [2.0.0]
#### Added
@ -191,7 +212,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[1.0.2]: #1.0.2
[2.0.0]: #2.0.0
### [1.0.1]

View File

@ -9,6 +9,23 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [2.1.0]
#### Added
- set Search and Options when DNSPolicy is "None"
- update instructions
#### Changed
- N/A
#### Removed
- N/A
[2.1.0]: #2.1.0
### [2.0.0]
#### Added
@ -25,7 +42,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[1.0.2]: #1.0.2
[2.0.0]: #2.0.0
### [1.0.1]

View File

@ -5,6 +5,9 @@
{{- define "custom.custom.configuration" -}}
{{ template "custom.custom.configuration.header" . }}
Please check [this guide](https://docs.k8s-at-home.com/guides/pod-gateway/)
for the full instructions.
You need to add `routed-gateway=true` to the namespaces with PODs you
want to route through this POD gateway. If needed the label name can be changed
in .Values.

View File

@ -8,7 +8,7 @@
image:
repository: ghcr.io/k8s-at-home/pod-gateway
pullPolicy: IfNotPresent
tag: v1.2.3
tag: v1.2.5
# -- IP address of the DNS server within the vxlan tunnel.
# All mutated PODs will get this as their DNS server.
@ -145,7 +145,7 @@ webhook:
image:
repository: ghcr.io/k8s-at-home/gateway-admision-controller
pullPolicy: IfNotPresent
tag: v3.2.0
tag: v3.3.1
# -- Selector for namespace.
# All pods in this namespace will get their default gateway changed