feat: add namespace overrides (#10539)

* feat: add namespace overrides

* add value in readme

* fix: readme description

* fix: description in value

* fix: set max length and trim last "-"
This commit is contained in:
jasine 2023-10-25 01:53:46 +08:00 committed by GitHub
parent b97bc81b38
commit 7ce6cc88d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 72 additions and 57 deletions

View file

@ -3,7 +3,7 @@ apiVersion: batch/v1
kind: Job
metadata:
name: {{ include "ingress-nginx.fullname" . }}-admission-create
namespace: {{ .Release.Namespace }}
namespace: {{ include "ingress-nginx.namespace" . }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded