1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Add the possibility to ignore files with build and diff ks

If implemented, user will be able to ignore files when using `build
kustomization` and `diff kustomization` both with .sourceignore and
`ignore-paths` flag.

Signed-off-by: Soule BA <bah.soule@gmail.com>
This commit is contained in:
Soule BA
2023-04-04 18:04:55 +02:00
parent f00fee5328
commit b74638c25c
11 changed files with 107 additions and 9 deletions

View File

@@ -0,0 +1,23 @@
apiVersion: v1
data:
var: test
kind: ConfigMap
metadata:
labels:
kustomize.toolkit.fluxcd.io/name: podinfo
kustomize.toolkit.fluxcd.io/namespace: {{ .fluxns }}
name: configmap_ignore
namespace: default
---
apiVersion: v1
data:
token: KipTT1BTKio=
kind: Secret
metadata:
labels:
kustomize.toolkit.fluxcd.io/name: podinfo
kustomize.toolkit.fluxcd.io/namespace: {{ .fluxns }}
name: secret_ignore
namespace: default
type: Opaque
---