Skip to content

Commit 29cf05c

Browse files
chore(deps): update registry.k8s.io/ingress-nginx/kube-webhook-certgen docker tag to v1.5.4 (#751)
* chore(deps): update registry.k8s.io/ingress-nginx/kube-webhook-certgen docker tag to v1.5.1 * chore(deps): update registry.k8s.io/ingress-nginx/kube-webhook-certgen docker tag to v1.5.4 * chore: update helm-schema version Signed-off-by: Oliver Bähler <[email protected]> * chore: update helm-schema version Signed-off-by: Oliver Bähler <[email protected]> * chore: update helm-schema version Signed-off-by: Oliver Bähler <[email protected]> * chore: update helm-schema version Signed-off-by: Oliver Bähler <[email protected]> * chore: update helm-schema version Signed-off-by: Oliver Bähler <[email protected]> --------- Signed-off-by: Oliver Bähler <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Oliver Bähler <[email protected]>
1 parent f88c084 commit 29cf05c

File tree

6 files changed

+756
-411
lines changed

6 files changed

+756
-411
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ helm-lint: ct
111111
@$(CT) lint --config .github/configs/ct.yaml --validate-yaml=false --all --debug
112112

113113
helm-schema: helm-plugin-schema
114-
cd charts/capsule-proxy && $(HELM) schema
114+
cd charts/capsule-proxy && $(HELM) schema --use-helm-docs
115115

116116
helm-test: helm-create helm-install helm-destroy
117117

@@ -181,7 +181,6 @@ ifeq ($(CAPSULE_PROXY_MODE),http)
181181
--set "options.logLevel=10" \
182182
--set "options.pprof=true" \
183183
--set "service.type=NodePort" \
184-
--set "service.nodePort=" \
185184
--set "kind=DaemonSet" \
186185
--set "daemonset.hostNetwork=true" \
187186
--set "serviceMonitor.enabled=false" \
@@ -219,7 +218,6 @@ else
219218
--set "options.logLevel=10" \
220219
--set "options.pprof=true" \
221220
--set "service.type=NodePort" \
222-
--set "service.nodePort=" \
223221
--set "kind=DaemonSet" \
224222
--set "daemonset.hostNetwork=true" \
225223
--set "serviceMonitor.enabled=false" \

charts/capsule-proxy/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ If you only need to make minor customizations, you can specify them on the comma
9595
| global.jobs.certs.image.pullPolicy | string | `"IfNotPresent"` | Set the image pull policy of the post install certgen job |
9696
| global.jobs.certs.image.registry | string | `"registry.k8s.io"` | Set the image repository of the post install certgen job |
9797
| global.jobs.certs.image.repository | string | `"ingress-nginx/kube-webhook-certgen"` | Set the image repository of the post install certgen job |
98-
| global.jobs.certs.image.tag | string | `"v1.5.3"` | Set the image tag of the post install certgen job |
98+
| global.jobs.certs.image.tag | string | `"v1.5.4"` | Set the image tag of the post install certgen job |
9999
| global.jobs.certs.nodeSelector | object | `{}` | Set the node selector |
100100
| global.jobs.certs.podSecurityContext | object | `{"seccompProfile":{"type":"RuntimeDefault"}}` | Security context for the job pods. |
101101
| global.jobs.certs.priorityClassName | string | `""` | Set a pod priorityClassName |
@@ -185,7 +185,7 @@ If you only need to make minor customizations, you can specify them on the comma
185185
| options.ignoredUserGroups | list | `[]` | Define which groups must be ignored while proxying requests |
186186
| options.leaderElection | bool | `false` | Set leader election to true if you are running n-replicas |
187187
| options.listeningPort | int | `9001` | Set the listening port of the capsule-proxy |
188-
| options.logLevel | string | `"4"` | Set the log verbosity of the capsule-proxy with a value from 1 to 10 |
188+
| options.logLevel | int | `4` | Set the log verbosity of the capsule-proxy with a value from 1 to 10 |
189189
| options.oidcUsernameClaim | string | `"preferred_username"` | Specify if capsule-proxy will use SSL |
190190
| options.pprof | bool | `false` | Enable Pprof for profiling |
191191
| options.rolebindingsResyncPeriod | string | `"10h"` | Set the role bindings reflector resync period, a local cache to store mappings between users and their namespaces. [Use a lower value in case of flaky etcd server connections.](https://github.com/projectcapsule/capsule-proxy/issues/174) |
@@ -234,7 +234,7 @@ You can manage the certificate with the help of [cert-manager](https://cert-mana
234234
|-----|------|---------|-------------|
235235
| service.annotations | object | `{}` | Annotations to add to the service. |
236236
| service.labels | object | `{}` | Labels to add to the service. |
237-
| service.nodePort | string | `nil` | Specifies the node port number (only for `NodePort` service type). |
237+
| service.nodePort | int | `0` | Specifies the node port number (only for `NodePort` service type). |
238238
| service.port | int | `9001` | Specifies the service port number. |
239239
| service.portName | string | `"proxy"` | Specifies the service port name. |
240240
| service.type | string | `"ClusterIP"` | Specifies the service type should be created (`ClusterIP`, `NodePort`or `LoadBalancer`) |

charts/capsule-proxy/ci/ds-values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ kind: DaemonSet
55
daemonset:
66
hostNetwork: true
77
hostPort: true
8+
service:
9+
nodePort: 30901
810
imagePullSecrets: []
911
certManager:
1012
generateCertificates: true

charts/capsule-proxy/templates/service.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ spec:
3535
protocol: TCP
3636
targetPort: {{ .Values.options.listeningPort }}
3737
{{ if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
38+
{{- if .Values.service.nodePort }}
3839
nodePort: {{.Values.service.nodePort}}
40+
{{- end }}
3941
{{ end }}
4042
selector:
4143
{{- include "capsule-proxy.selectorLabels" . | nindent 4 }}

0 commit comments

Comments
 (0)