mirror of https://github.com/fluxcd/flux2.git
feat: add --ignore-paths flag to flux create source (git|bucket)
A new --ignore-paths flag is added to following commands: flux create source git --ignore-paths ... flux create source bucket --ignore-paths ... A StringSliceVar is used which supports specifying the flag multiple times to populate a list or either a comma seperated string value A unit test with a golden file is added to validate the flag Signed-off-by: Tarun Gupta Akirala <takirala@users.noreply.github.com>pull/2767/head
parent
5ebb985b10
commit
ed88e9dec5
@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: GitRepository
|
||||
metadata:
|
||||
name: podinfo
|
||||
namespace: default
|
||||
spec:
|
||||
ignore: |-
|
||||
.cosign
|
||||
non-existent-dir/
|
||||
interval: 1m0s
|
||||
ref:
|
||||
branch: master
|
||||
url: https://github.com/stefanprodan/podinfo
|
||||
|
Loading…
Reference in New Issue