Compare commits

...

10 Commits

Author SHA1 Message Date
k8s-at-home[bot]
2216127da4 Auto-generate chart README [no ci] 2021-08-03 19:30:15 +00:00
Ryan Holt
9e9d39e2b0 [vikunja] Added link for postgresql and updated readme to support (#1110)
* added link for postgresql and updated readme to support. bumped version
2021-08-03 21:29:48 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
be699c5035 ci: Update regex 2021-08-03 21:29:05 +02:00
Angel Nunez Mencias
2df5b026b8 Merge pull request #1108 from toboshii/fix/namespace-selector
[pod-gateway] Fix for allowing custom namespace selectors without dict merges
2021-08-03 14:09:40 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
02f1040111 Merge branch 'master' into fix/namespace-selector 2021-08-03 13:54:23 +02:00
renovate[bot]
d44819695f chore(deps): update external patch dep (#1105)
* chore(deps): update external patch dep

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-03 13:49:44 +02:00
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs
e67c4213c2 Merge branch 'master' into fix/namespace-selector 2021-08-03 07:55:19 +02:00
Toboshii Nakama
4d74bfc1e2 fix: readme badge version 2021-08-02 16:19:56 -05:00
Toboshii Nakama
c7186800da chore: bump semver and update changelog 2021-08-02 16:12:20 -05:00
Toboshii Nakama
fb898031b4 fix: allow custom selectors without dict merges 2021-08-02 15:58:48 -05:00
8 changed files with 33 additions and 14 deletions

View File

@@ -28,7 +28,7 @@ jobs:
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
- uses: Videndum/label-mastermind@2.1.1
- uses: Videndum/label-mastermind@2.1.3
with:
GITHUB_TOKEN: ${{ steps.get-app-token.outputs.token }}
configJSON: |
@@ -59,7 +59,7 @@ jobs:
},
{
"type": "titleMatches",
"pattern": "^(?!\\[[a-z0-9\\-]+\\]\\s[A-Z0-9].+).+"
"pattern": "^(?!\\[[a-z0-9\\-]+\\]\\s.+).+"
}
]
}

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.2.6
description: Admision controller to change the default gateway and DNS server of PODs
name: pod-gateway
version: 3.3.0
version: 4.0.0
kubeVersion: ">=1.16.0-0"
keywords:
- pod-gateway

View File

@@ -1,6 +1,6 @@
# pod-gateway
![Version: 3.3.0](https://img.shields.io/badge/Version-3.3.0-informational?style=flat-square) ![AppVersion: 1.2.6](https://img.shields.io/badge/AppVersion-1.2.6-informational?style=flat-square)
![Version: 4.0.0](https://img.shields.io/badge/Version-4.0.0-informational?style=flat-square) ![AppVersion: 1.2.6](https://img.shields.io/badge/AppVersion-1.2.6-informational?style=flat-square)
Admision controller to change the default gateway and DNS server of PODs
@@ -129,7 +129,7 @@ certificates. It does not install it as dependency to avoid conflicts.
| webhook.image.pullPolicy | string | `"IfNotPresent"` | image pullPolicy of the webhook |
| webhook.image.repository | string | `"ghcr.io/k8s-at-home/gateway-admision-controller"` | image repository of the webhook |
| webhook.image.tag | string | `"v3.3.2"` | image tag of the webhook |
| webhook.namespaceSelector | object | `{"matchLabels":{"routed-gateway":"true"}}` | Selector for namespace. All pods in this namespace will get evaluated by the webhook. **IMPORTANT**: Do not select the namespace where the webhook is deployed to or you will get locking issues. |
| webhook.namespaceSelector | object | `{"custom":{},"label":"routed-gateway","type":"label"}` | Selector for namespace. All pods in this namespace will get evaluated by the webhook. **IMPORTANT**: Do not select the namespace where the webhook is deployed to or you will get locking issues. |
| webhook.replicas | int | `1` | number of webhook instances to deploy |
| webhook.strategy | object | `{"type":"RollingUpdate"}` | strategy for updates |
@@ -139,6 +139,10 @@ 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).
### [4.0.0]
- Fixed `namespaceSelector` to allow replacing the default label value.
### [3.2.2]
- Remove some default values (`addons.vpn.openvpn`, `addons.vpn.wireguard`, `addons.vpn.env`, `addons.vpn.configFileSecret`) which were interfering with user supplied configuration.

View File

@@ -9,6 +9,10 @@ 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).
### [4.0.0]
- Fixed `namespaceSelector` to allow replacing the default label value.
### [3.2.2]
- Remove some default values (`addons.vpn.openvpn`, `addons.vpn.wireguard`, `addons.vpn.env`, `addons.vpn.configFileSecret`) which were interfering with user supplied configuration.

View File

@@ -10,7 +10,12 @@ webhooks:
- name: "{{ include "common.names.fullname" . }}.svc.cluster.local"
namespaceSelector:
{{- with .Values.webhook.namespaceSelector }}
{{ toYaml . | nindent 4 }}
{{- if eq .type "label" }}
matchLabels:
{{ .label }}: "true"
{{- else if eq .type "custom" }}
{{- toYaml .custom | nindent 4 }}
{{- end }}
{{- end }}
rules:
- apiGroups: [""]

View File

@@ -119,12 +119,13 @@ webhook:
# **IMPORTANT**: Do not select the namespace where the webhook
# is deployed to or you will get locking issues.
namespaceSelector:
matchLabels:
routed-gateway: "true"
# matchExpressions:
# - key: notTouch
# operator: NotIn
# values: ["1"]
type: label
label: "routed-gateway"
custom: {}
# matchExpressions:
# - key: notTouch
# operator: NotIn
# values: ["1"]
# -- default behviour for new PODs in the evaluated namespace
gatewayDefault: true

View File

@@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 0.17.0
description: The to-do app to organize your life
name: vikunja
version: 3.1.0
version: 3.2.0
keywords:
- vikunja
- to-do
@@ -24,3 +24,7 @@ dependencies:
- name: common
repository: https://library-charts.k8s-at-home.com
version: 3.3.0
- name: postgresql
version: 10.5.3
repository: https://charts.bitnami.com/bitnami
condition: postgresql.enabled

View File

@@ -1,6 +1,6 @@
# vikunja
![Version: 3.1.0](https://img.shields.io/badge/Version-3.1.0-informational?style=flat-square) ![AppVersion: 0.17.0](https://img.shields.io/badge/AppVersion-0.17.0-informational?style=flat-square)
![Version: 3.2.0](https://img.shields.io/badge/Version-3.2.0-informational?style=flat-square) ![AppVersion: 0.17.0](https://img.shields.io/badge/AppVersion-0.17.0-informational?style=flat-square)
The to-do app to organize your life
@@ -20,6 +20,7 @@ The to-do app to organize your life
| Repository | Name | Version |
|------------|------|---------|
| https://charts.bitnami.com/bitnami | postgresql | 10.5.3 |
| https://library-charts.k8s-at-home.com | common | 3.3.0 |
## TL;DR