From 36529baee5f90599845de2e262207d33e63e9148 Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Tue, 26 Dec 2023 16:18:01 +0530 Subject: [PATCH 01/18] argocd version updated to 2.9.2 --- go.mod | 63 ++++++++++------ go.sum | 130 +++++++++++++++++++++------------ scripts/testacc_prepare_env.sh | 2 +- 3 files changed, 126 insertions(+), 69 deletions(-) diff --git a/go.mod b/go.mod index 2bba5a84..50e653b9 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.19 require ( github.com/Masterminds/semver/v3 v3.2.1 github.com/ProtonMail/gopenpgp/v2 v2.7.1 - github.com/argoproj/argo-cd/v2 v2.8.3 + github.com/argoproj/argo-cd/v2 v2.9.2 github.com/argoproj/gitops-engine v0.7.3 github.com/argoproj/pkg v0.13.7-0.20230627120311-a4dd357b057e github.com/cristalhq/jwt/v3 v3.1.0 @@ -30,6 +30,7 @@ require ( require ( cloud.google.com/go/compute v1.23.0 // indirect cloud.google.com/go/compute/metadata v0.2.3 // indirect + dario.cat/mergo v1.0.0 // indirect github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect github.com/Azure/go-autorest v14.2.0+incompatible // indirect github.com/Azure/go-autorest/autorest v0.11.27 // indirect @@ -41,26 +42,39 @@ require ( github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/sprig/v3 v3.2.3 // indirect - github.com/Microsoft/go-winio v0.5.2 // indirect - github.com/PagerDuty/go-pagerduty v1.6.0 // indirect - github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903 // indirect + github.com/Microsoft/go-winio v0.6.1 // indirect + github.com/PagerDuty/go-pagerduty v1.7.0 // indirect + github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 // indirect github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f // indirect github.com/RocketChat/Rocket.Chat.Go.SDK v0.0.0-20210112200207-10ab4d695d60 // indirect github.com/acomagu/bufpipe v1.0.4 // indirect github.com/agext/levenshtein v1.2.2 // indirect github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a // indirect - github.com/alicebob/miniredis/v2 v2.30.3 // indirect - github.com/antonmedv/expr v1.12.5 // indirect + github.com/alicebob/miniredis/v2 v2.30.4 // indirect + github.com/antonmedv/expr v1.15.2 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect - github.com/argoproj/notifications-engine v0.4.1-0.20230620204159-3446d4ae8520 // indirect + github.com/argoproj/notifications-engine v0.4.1-0.20230905144632-9dcecdc3eebf // indirect github.com/armon/go-radix v1.0.0 // indirect github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect + github.com/aws/aws-sdk-go-v2 v1.17.3 // indirect + github.com/aws/aws-sdk-go-v2/config v1.18.8 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.13.8 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.21 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 // indirect + github.com/aws/aws-sdk-go-v2/internal/ini v1.3.28 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.21 // indirect + github.com/aws/aws-sdk-go-v2/service/sqs v1.20.0 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.12.0 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.0 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.18.0 // indirect + github.com/aws/smithy-go v1.13.5 // indirect github.com/beorn7/perks v1.0.1 // indirect github.com/bgentry/speakeasy v0.1.0 // indirect github.com/bmatcuk/doublestar/v4 v4.6.0 // indirect github.com/bombsimon/logrusr/v2 v2.0.1 // indirect - github.com/bradleyfalzon/ghinstallation/v2 v2.5.0 // indirect - github.com/casbin/casbin/v2 v2.71.1 // indirect + github.com/bradleyfalzon/ghinstallation/v2 v2.6.0 // indirect + github.com/casbin/casbin/v2 v2.77.2 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/chai2010/gettext-go v0.0.0-20170215093142-bf70f2a70fb1 // indirect github.com/cloudflare/circl v1.3.3 // indirect @@ -79,7 +93,7 @@ require ( github.com/go-errors/errors v1.4.2 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.4.1 // indirect - github.com/go-git/go-git/v5 v5.7.0 // indirect + github.com/go-git/go-git/v5 v5.8.1 // indirect github.com/go-jose/go-jose/v3 v3.0.1 // indirect github.com/go-logr/logr v1.3.0 // indirect github.com/go-logr/stdr v1.2.2 // indirect @@ -93,10 +107,11 @@ require ( github.com/go-openapi/strfmt v0.21.7 // indirect github.com/go-openapi/swag v0.22.3 // indirect github.com/go-openapi/validate v0.22.1 // indirect + github.com/go-playground/webhooks/v6 v6.3.0 // indirect github.com/go-redis/cache/v9 v9.0.0 // indirect github.com/go-telegram-bot-api/telegram-bot-api/v5 v5.5.1 // indirect github.com/gobwas/glob v0.2.3 // indirect - github.com/gogits/go-gogs-client v0.0.0-20190616193657-5a05380e4bc2 // indirect + github.com/gogits/go-gogs-client v0.0.0-20200905025246-8bb8a50cb355 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang-jwt/jwt/v4 v4.5.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect @@ -104,16 +119,15 @@ require ( github.com/google/gnostic v0.6.9 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/go-github/v41 v41.0.0 // indirect - github.com/google/go-github/v53 v53.0.0 // indirect + github.com/google/go-github/v53 v53.2.0 // indirect github.com/google/go-jsonnet v0.20.0 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect github.com/google/uuid v1.3.1 // indirect github.com/gorilla/handlers v1.5.1 // indirect - github.com/gorilla/mux v1.8.0 // indirect github.com/gorilla/websocket v1.5.0 // indirect - github.com/gregdel/pushover v1.1.0 // indirect + github.com/gregdel/pushover v1.2.1 // indirect github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect @@ -140,6 +154,8 @@ require ( github.com/imdario/mergo v0.3.16 // indirect github.com/improbable-eng/grpc-web v0.15.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/itchyny/gojq v0.12.13 // indirect + github.com/itchyny/timefmt-go v0.1.5 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jonboulle/clockwork v0.2.2 // indirect github.com/josharian/intern v1.0.0 // indirect @@ -167,7 +183,7 @@ require ( github.com/oklog/run v1.0.0 // indirect github.com/oklog/ulid v1.3.1 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect - github.com/opencontainers/image-spec v1.1.0-rc.3 // indirect + github.com/opencontainers/image-spec v1.1.0-rc4 // indirect github.com/opsgenie/opsgenie-go-sdk-v2 v1.0.5 // indirect github.com/patrickmn/go-cache v2.1.0+incompatible // indirect github.com/peterbourgon/diskv v2.0.1+incompatible // indirect @@ -186,12 +202,15 @@ require ( github.com/sergi/go-diff v1.2.0 // indirect github.com/shopspring/decimal v1.3.1 // indirect github.com/sirupsen/logrus v1.9.3 // indirect - github.com/skeema/knownhosts v1.1.1 // indirect - github.com/slack-go/slack v0.12.1 // indirect + github.com/skeema/knownhosts v1.2.0 // indirect + github.com/slack-go/slack v0.12.2 // indirect github.com/soheilhy/cmux v0.1.5 // indirect - github.com/spf13/cast v1.5.0 // indirect + github.com/spf13/cast v1.5.1 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect + github.com/tidwall/gjson v1.14.4 // indirect + github.com/tidwall/match v1.1.1 // indirect + github.com/tidwall/pretty v1.2.0 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasttemplate v1.2.2 // indirect github.com/vmihailenco/go-tinylfu v0.2.2 // indirect @@ -218,6 +237,7 @@ require ( golang.org/x/term v0.13.0 // indirect golang.org/x/text v0.13.0 // indirect golang.org/x/time v0.3.0 // indirect + golang.org/x/tools v0.7.0 // indirect gomodules.xyz/envconfig v1.3.1-0.20190308184047-426f31af0d45 // indirect gomodules.xyz/notify v0.1.1 // indirect google.golang.org/appengine v1.6.7 // indirect @@ -227,7 +247,6 @@ require ( google.golang.org/grpc v1.59.0 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect - gopkg.in/go-playground/webhooks.v5 v5.17.0 // indirect gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect @@ -245,18 +264,18 @@ require ( k8s.io/kubernetes v1.24.15 // indirect k8s.io/utils v0.0.0-20220706174534-f6158b442e7c // indirect layeh.com/gopher-json v0.0.0-20190114024228-97fed8db8427 // indirect - oras.land/oras-go/v2 v2.2.0 // indirect + oras.land/oras-go/v2 v2.3.0 // indirect sigs.k8s.io/controller-runtime v0.11.0 // indirect sigs.k8s.io/json v0.0.0-20220525155127-227cbc7cc124 // indirect sigs.k8s.io/kustomize/api v0.11.5 // indirect sigs.k8s.io/kustomize/kyaml v0.13.7 // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) replace ( // https://github.com/argoproj/gitops-engine/issues/447 - github.com/argoproj/gitops-engine => github.com/argoproj/gitops-engine v0.7.1-0.20230607163028-425d65e07695 + github.com/argoproj/gitops-engine => github.com/argoproj/gitops-engine v0.7.1-0.20230906152414-b0fffe419a0f // https://github.com/golang/go/issues/33546#issuecomment-519656923 github.com/go-check/check => github.com/go-check/check v0.0.0-20180628173108-788fd7840127 diff --git a/go.sum b/go.sum index 77e7977e..ef0d8ec0 100644 --- a/go.sum +++ b/go.sum @@ -41,6 +41,8 @@ cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0Zeo cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= +dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= +dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= @@ -79,17 +81,18 @@ github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYr github.com/Masterminds/sprig/v3 v3.2.1/go.mod h1:UoaO7Yp8KlPnJIYWTFkMaqPUYKTfGFPhxNuwnnxkKlk= github.com/Masterminds/sprig/v3 v3.2.3 h1:eL2fZNezLomi0uOLqjQoN6BfsDD+fyLtgbJMAj9n6YA= github.com/Masterminds/sprig/v3 v3.2.3/go.mod h1:rXcFaZ2zZbLRJv/xSysmlgIM1u11eBaRMhvYXJNkGuM= -github.com/Microsoft/go-winio v0.5.2 h1:a9IhgEQBCUEk6QCdml9CiJGhAws+YwffDHEMp1VMrpA= github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= +github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= +github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/PagerDuty/go-pagerduty v1.6.0 h1:am81SzvG5Pw+s3JZ5yEy6kGvsXXklTNRrGr3d8WKpsU= -github.com/PagerDuty/go-pagerduty v1.6.0/go.mod h1:7eaBLzsDpK7VUvU0SJ5mohczQkoWrrr5CjDaw5gh1as= +github.com/PagerDuty/go-pagerduty v1.7.0 h1:S1NcMKECxT5hJwV4VT+QzeSsSiv4oWl1s2821dUqG/8= +github.com/PagerDuty/go-pagerduty v1.7.0/go.mod h1:PuFyJKRz1liIAH4h5KVXVD18Obpp1ZXRdxHvmGXooro= github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8/go.mod h1:I0gYDMZ6Z5GRU7l58bNFSkPTFN6Yl12dsUlAZ8xy98g= github.com/ProtonMail/go-crypto v0.0.0-20230321155629-9a39f2531310/go.mod h1:8TI4H3IbrackdNgv+92dI+rhpCaLqM0IfpgCgenFvRE= -github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903 h1:ZK3C5DtzV2nVAQTx5S5jQvMeDqWtD1By5mOoyY/xJek= -github.com/ProtonMail/go-crypto v0.0.0-20230518184743-7afd39499903/go.mod h1:8TI4H3IbrackdNgv+92dI+rhpCaLqM0IfpgCgenFvRE= +github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95 h1:KLq8BE0KwCL+mmXnjLWEAOYO+2l2AE4YMmqG1ZpZHBs= +github.com/ProtonMail/go-crypto v0.0.0-20230717121422-5aa5874ade95/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f h1:tCbYj7/299ekTTXpdwKYF8eBlsYsDVoggDAuAjoK66k= github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f/go.mod h1:gcr0kNtGBqin9zDW9GOHcVntrwnjrK+qdJ06mWYBybw= github.com/ProtonMail/gopenpgp/v2 v2.7.1 h1:Awsg7MPc2gD3I7IFac2qE3Gdls0lZW8SzrFZ3k1oz0s= @@ -109,23 +112,23 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a h1:HbKu58rmZpUGpz5+4FfNmIU+FmZg2P3Xaj2v2bfNWmk= github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a/go.mod h1:SGnFV6hVsYE877CKEZ6tDNTjaSXYUk6QqoIK6PrAtcc= -github.com/alicebob/miniredis/v2 v2.30.3 h1:hrqDB4cHFSHQf4gO3xu6YKQg8PqJpNjLYsQAFYHstqw= -github.com/alicebob/miniredis/v2 v2.30.3/go.mod h1:b25qWj4fCEsBeAAR2mlb0ufImGC6uH3VlUfb/HS5zKg= +github.com/alicebob/miniredis/v2 v2.30.4 h1:8S4/o1/KoUArAGbGwPxcwf0krlzceva2XVOSchFS7Eo= +github.com/alicebob/miniredis/v2 v2.30.4/go.mod h1:b25qWj4fCEsBeAAR2mlb0ufImGC6uH3VlUfb/HS5zKg= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= -github.com/antonmedv/expr v1.12.5 h1:Fq4okale9swwL3OeLLs9WD9H6GbgBLJyN/NUHRv+n0E= -github.com/antonmedv/expr v1.12.5/go.mod h1:FPC8iWArxls7axbVLsW+kpg1mz29A1b2M6jt+hZfDkU= +github.com/antonmedv/expr v1.15.2 h1:afFXpDWIC2n3bF+kTZE1JvFo+c34uaM3sTqh8z0xfdU= +github.com/antonmedv/expr v1.15.2/go.mod h1:0E/6TxnOlRNp81GMzX9QfDPAmHo2Phg00y4JUv1ihsE= github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= github.com/appscode/go v0.0.0-20191119085241-0887d8ec2ecc/go.mod h1:OawnOmAL4ZX3YaPdN+8HTNwBveT1jMsqP74moa9XUbE= -github.com/argoproj/argo-cd/v2 v2.8.3 h1:ybJ7eNoP7/u5Vqncais6WeVRBEGmZmriAIwLEKmWHIA= -github.com/argoproj/argo-cd/v2 v2.8.3/go.mod h1:Pkw7r6HKh5k/5Ynl4MvwCG79ktYBk+7PbJxCjXSlT30= -github.com/argoproj/gitops-engine v0.7.1-0.20230607163028-425d65e07695 h1:w8OPbqHyhWxLyC4LZgs5JBUe7AOkJpNZqFa92yy7Kmc= -github.com/argoproj/gitops-engine v0.7.1-0.20230607163028-425d65e07695/go.mod h1:WpA/B7tgwfz+sdNE3LqrTrb7ArEY1FOPI2pAGI0hfPc= -github.com/argoproj/notifications-engine v0.4.1-0.20230620204159-3446d4ae8520 h1:ZCpg1Zk78E8QxMI52w6ZIddxkBHv27YWmfWQdxxWUkw= -github.com/argoproj/notifications-engine v0.4.1-0.20230620204159-3446d4ae8520/go.mod h1:sbhf4EjAUGAqRdHIzifDIiWsjlsTfmytVJJCCiUdyVA= +github.com/argoproj/argo-cd/v2 v2.9.2 h1:WJFLZOESdrigOcj8ttUEllJDffkcdrj2k8aJQIu+TLc= +github.com/argoproj/argo-cd/v2 v2.9.2/go.mod h1:+Ve37mJedhW4fpRTpQNbE9VaSmkijET1UgxZOFNi3dI= +github.com/argoproj/gitops-engine v0.7.1-0.20230906152414-b0fffe419a0f h1:cb2j6HxYJutMBvvQc/Y3EOSL7pcr5pcnP/4MNmYi4xc= +github.com/argoproj/gitops-engine v0.7.1-0.20230906152414-b0fffe419a0f/go.mod h1:/GMN0JuoJUUpnKlNLp2Wn/mfK8sglFsdPn+eoxSddmg= +github.com/argoproj/notifications-engine v0.4.1-0.20230905144632-9dcecdc3eebf h1:4wliaBwd6iKvT/5huDTJntaYtTSdwPLs00SOQwDSK6A= +github.com/argoproj/notifications-engine v0.4.1-0.20230905144632-9dcecdc3eebf/go.mod h1:TuK0BNKo34DIUOyCCGOB9ij+smGCxeCgt9ZB+0fMWno= github.com/argoproj/pkg v0.13.7-0.20230627120311-a4dd357b057e h1:kuLQvJqwwRMQTheT4MFyKVM8Txncu21CHT4yBWUl1Mk= github.com/argoproj/pkg v0.13.7-0.20230627120311-a4dd357b057e/go.mod h1:xBN5PLx2MoK63dmPfMo/PGBvd77K1Y0m/rzZOe4cs1s= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= @@ -140,6 +143,32 @@ github.com/asaskevich/govalidator v0.0.0-20200907205600-7a23bdc65eef/go.mod h1:W github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so= github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw= github.com/aws/aws-sdk-go v1.44.290/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +github.com/aws/aws-sdk-go-v2 v1.17.3 h1:shN7NlnVzvDUgPQ+1rLMSxY8OWRNDRYtiqe0p/PgrhY= +github.com/aws/aws-sdk-go-v2 v1.17.3/go.mod h1:uzbQtefpm44goOPmdKyAlXSNcwlRgF3ePWVW6EtJvvw= +github.com/aws/aws-sdk-go-v2/config v1.18.8 h1:lDpy0WM8AHsywOnVrOHaSMfpaiV2igOw8D7svkFkXVA= +github.com/aws/aws-sdk-go-v2/config v1.18.8/go.mod h1:5XCmmyutmzzgkpk/6NYTjeWb6lgo9N170m1j6pQkIBs= +github.com/aws/aws-sdk-go-v2/credentials v1.13.8 h1:vTrwTvv5qAwjWIGhZDSBH/oQHuIQjGmD232k01FUh6A= +github.com/aws/aws-sdk-go-v2/credentials v1.13.8/go.mod h1:lVa4OHbvgjVot4gmh1uouF1ubgexSCN92P6CJQpT0t8= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.21 h1:j9wi1kQ8b+e0FBVHxCqCGo4kxDU175hoDHcWAi0sauU= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.21/go.mod h1:ugwW57Z5Z48bpvUyZuaPy4Kv+vEfJWnIrky7RmkBvJg= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27 h1:I3cakv2Uy1vNmmhRQmFptYDxOvBnwCdNwyw63N0RaRU= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.27/go.mod h1:a1/UpzeyBBerajpnP5nGZa9mGzsBn5cOKxm6NWQsvoI= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21 h1:5NbbMrIzmUn/TXFqAle6mgrH5m9cOvMLRGL7pnG8tRE= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.21/go.mod h1:+Gxn8jYn5k9ebfHEqlhrMirFjSW0v0C9fI+KN5vk2kE= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.28 h1:KeTxcGdNnQudb46oOl4d90f2I33DF/c6q3RnZAmvQdQ= +github.com/aws/aws-sdk-go-v2/internal/ini v1.3.28/go.mod h1:yRZVr/iT0AqyHeep00SZ4YfBAKojXz08w3XMBscdi0c= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.21 h1:5C6XgTViSb0bunmU57b3CT+MhxULqHH2721FVA+/kDM= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.21/go.mod h1:lRToEJsn+DRA9lW4O9L9+/3hjTkUzlzyzHqn8MTds5k= +github.com/aws/aws-sdk-go-v2/service/sqs v1.20.0 h1:tQoMg8i4nFAB70cJ4wiAYEiZRYo2P6uDmU2D6ys/igo= +github.com/aws/aws-sdk-go-v2/service/sqs v1.20.0/go.mod h1:jQhN5f4p3PALMNlUtfb/0wGIFlV7vGtJlPDVfxfNfPY= +github.com/aws/aws-sdk-go-v2/service/sso v1.12.0 h1:/2gzjhQowRLarkkBOGPXSRnb8sQ2RVsjdG1C/UliK/c= +github.com/aws/aws-sdk-go-v2/service/sso v1.12.0/go.mod h1:wo/B7uUm/7zw/dWhBJ4FXuw1sySU5lyIhVg1Bu2yL9A= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.0 h1:Jfly6mRxk2ZOSlbCvZfKNS7TukSx1mIzhSsqZ/IGSZI= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.0/go.mod h1:TZSH7xLO7+phDtViY/KUp9WGCJMQkLJ/VpgkTFd5gh8= +github.com/aws/aws-sdk-go-v2/service/sts v1.18.0 h1:kOO++CYo50RcTFISESluhWEi5Prhg+gaSs4whWabiZU= +github.com/aws/aws-sdk-go-v2/service/sts v1.18.0/go.mod h1:+lGbb3+1ugwKrNTWcf2RT05Xmp543B06zDFTwiTLp7I= +github.com/aws/smithy-go v1.13.5 h1:hgz0X/DX0dGqTYpGALqXJoRKRj5oQ7150i5FdTePzO8= +github.com/aws/smithy-go v1.13.5/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= github.com/beevik/ntp v0.2.0/go.mod h1:hIHWr+l3+/clUnF44zdK+CWW7fO8dR5cIylAQ76NRpg= github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= @@ -156,16 +185,16 @@ github.com/bmatcuk/doublestar/v4 v4.6.0 h1:HTuxyug8GyFbRkrffIpzNCSK4luc0TY3wzXvz github.com/bmatcuk/doublestar/v4 v4.6.0/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc= github.com/bombsimon/logrusr/v2 v2.0.1 h1:1VgxVNQMCvjirZIYaT9JYn6sAVGVEcNtRE0y4mvaOAM= github.com/bombsimon/logrusr/v2 v2.0.1/go.mod h1:ByVAX+vHdLGAfdroiMg6q0zgq2FODY2lc5YJvzmOJio= -github.com/bradleyfalzon/ghinstallation/v2 v2.5.0 h1:yaYcGQ7yEIGbsJfW/9z7v1sLiZg/5rSNNXwmMct5XaE= -github.com/bradleyfalzon/ghinstallation/v2 v2.5.0/go.mod h1:amcvPQMrRkWNdueWOjPytGL25xQGzox7425qMgzo+Vo= +github.com/bradleyfalzon/ghinstallation/v2 v2.6.0 h1:IRY7Xy588KylkoycsUhFpW7cdGpy5Y5BPsz4IfuJtGk= +github.com/bradleyfalzon/ghinstallation/v2 v2.6.0/go.mod h1:oQ3etOwN3TRH4EwgW5/7MxSVMGlMlzG/O8TU7eYdoSk= github.com/bsm/ginkgo/v2 v2.7.0 h1:ItPMPH90RbmZJt5GtkcNvIRuGEdwlBItdNVoyzaNQao= github.com/bsm/gomega v1.26.0 h1:LhQm+AFcgV2M0WyKroMASzAzCAJVpAxQXv4SaI9a69Y= github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/bwmarrin/discordgo v0.19.0/go.mod h1:O9S4p+ofTFwB02em7jkpkV8M3R0/PUVOwN61zSZ0r4Q= -github.com/casbin/casbin/v2 v2.71.1 h1:LRHyqM0S1LzM/K59PmfUIN0ZJfLgcOjL4OhOQI/FNXU= -github.com/casbin/casbin/v2 v2.71.1/go.mod h1:vByNa/Fchek0KZUgG5wEsl7iFsiviAYKRtgrQfcJqHg= +github.com/casbin/casbin/v2 v2.77.2 h1:yQinn/w9x8AswiwqwtrXz93VU48R1aYTXdHEx4RI3jM= +github.com/casbin/casbin/v2 v2.77.2/go.mod h1:mzGx0hYW9/ksOSpw3wNjk3NRAroq5VMFYUQ6G43iGPk= github.com/cenkalti/backoff v2.1.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= @@ -266,7 +295,7 @@ github.com/felixge/httpsnoop v1.0.3/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSw github.com/flowstack/go-jsonschema v0.1.1/go.mod h1:yL7fNggx1o8rm9RlgXv7hTBWxdBM0rVwpMwimd3F3N0= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/frankban/quicktest v1.14.3 h1:FJKSZTDHjyhriyC81FLQ0LY93eSai0ZyR/ZIkd3ZUKE= +github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= @@ -286,8 +315,8 @@ github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmS github.com/go-git/go-billy/v5 v5.4.1 h1:Uwp5tDRkPr+l/TnbHOQzp+tmJfLceOlbVucgpTz8ix4= github.com/go-git/go-billy/v5 v5.4.1/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg= github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20230305113008-0c11038e723f h1:Pz0DHeFij3XFhoBRGUDPzSJ+w2UcK5/0JvF8DRI58r8= -github.com/go-git/go-git/v5 v5.7.0 h1:t9AudWVLmqzlo+4bqdf7GY+46SUuRsx59SboFxkq2aE= -github.com/go-git/go-git/v5 v5.7.0/go.mod h1:coJHKEOk5kUClpsNlXrUvPrDxY3w3gjHvhcZd8Fodw8= +github.com/go-git/go-git/v5 v5.8.1 h1:Zo79E4p7TRk0xoRgMq0RShiTHGKcKI4+DI6BfJc/Q+A= +github.com/go-git/go-git/v5 v5.8.1/go.mod h1:FHFuoD6yGz5OSKEBK+aWN9Oah0q54Jxl0abmj6GnqAo= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -352,6 +381,8 @@ github.com/go-openapi/validate v0.22.1 h1:G+c2ub6q47kfX1sOBLwIQwzBVt8qmOAARyo/9F github.com/go-openapi/validate v0.22.1/go.mod h1:rjnrwK57VJ7A8xqfpAOEKRH8yQSGUriMu5/zuPSQ1hg= github.com/go-playground/locales v0.12.1/go.mod h1:IUMDtCfWo/w/mtMfIE/IG2K+Ey3ygWanZIBtBW0W2TM= github.com/go-playground/universal-translator v0.16.0/go.mod h1:1AnU7NaIRDWWzGEKwgtJRd2xk99HeFyHw3yid4rvQIY= +github.com/go-playground/webhooks/v6 v6.3.0 h1:zBLUxK1Scxwi97TmZt5j/B/rLlard2zY7P77FHg58FE= +github.com/go-playground/webhooks/v6 v6.3.0/go.mod h1:GCocmfMtpJdkEOM1uG9p2nXzg1kY5X/LtvQgtPHUaaA= github.com/go-redis/cache/v9 v9.0.0 h1:0thdtFo0xJi0/WXbRVu8B066z8OvVymXTJGaXrVWnN0= github.com/go-redis/cache/v9 v9.0.0/go.mod h1:cMwi1N8ASBOufbIvk7cdXe2PbPjK/WMRL95FFHWsSgI= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= @@ -387,8 +418,8 @@ github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY9 github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gogits/go-gogs-client v0.0.0-20190616193657-5a05380e4bc2 h1:BbwX8wsMRDZRdNYxAna+4ls3wvMKJyn4PT6Zk1CPxP4= -github.com/gogits/go-gogs-client v0.0.0-20190616193657-5a05380e4bc2/go.mod h1:cY2AIrMgHm6oOHmR7jY+9TtjzSjQ3iG7tURJG3Y6XH0= +github.com/gogits/go-gogs-client v0.0.0-20200905025246-8bb8a50cb355 h1:HTVNOdTWO/gHYeFnr/HwpYwY6tgMcYd+Rgf1XrHnORY= +github.com/gogits/go-gogs-client v0.0.0-20200905025246-8bb8a50cb355/go.mod h1:cY2AIrMgHm6oOHmR7jY+9TtjzSjQ3iG7tURJG3Y6XH0= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= @@ -448,8 +479,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-github/v41 v41.0.0 h1:HseJrM2JFf2vfiZJ8anY2hqBjdfY1Vlj/K27ueww4gg= github.com/google/go-github/v41 v41.0.0/go.mod h1:XgmCA5H323A9rtgExdTcnDkcqp6S30AVACCBDOonIxg= -github.com/google/go-github/v53 v53.0.0 h1:T1RyHbSnpHYnoF0ZYKiIPSgPtuJ8G6vgc0MKodXsQDQ= -github.com/google/go-github/v53 v53.0.0/go.mod h1:XhFRObz+m/l+UCm9b7KSIC3lT3NWSXGt7mOsAWEloao= +github.com/google/go-github/v53 v53.2.0 h1:wvz3FyF53v4BK+AsnvCmeNhf8AkTaeh2SoYu/XUvTtI= +github.com/google/go-github/v53 v53.2.0/go.mod h1:XhFRObz+m/l+UCm9b7KSIC3lT3NWSXGt7mOsAWEloao= github.com/google/go-jsonnet v0.20.0 h1:WG4TTSARuV7bSm4PMB4ohjxe33IHT5WVTrJSU33uT4g= github.com/google/go-jsonnet v0.20.0/go.mod h1:VbgWF9JX7ztlv770x/TolZNGGFfiHEVx9G6ca2eUmeA= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= @@ -490,12 +521,11 @@ github.com/gopackage/ddp v0.0.0-20170117053602-652027933df4/go.mod h1:lEO7XoHJ/x github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4= github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q= -github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gregdel/pushover v1.1.0 h1:dwHyvrcpZCOS9V1fAnKPaGRRI5OC55cVaKhMybqNsKQ= -github.com/gregdel/pushover v1.1.0/go.mod h1:EcaO66Nn1StkpEm1iKtBTV3d2A16SoMsVER1PthX7to= +github.com/gregdel/pushover v1.2.1 h1:IPPJCdzXz60gMqnlzS0ZAW5z5aS1gI4nU+YM0Pe+ssA= +github.com/gregdel/pushover v1.2.1/go.mod h1:EcaO66Nn1StkpEm1iKtBTV3d2A16SoMsVER1PthX7to= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA= github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= @@ -598,6 +628,10 @@ github.com/improbable-eng/grpc-web v0.0.0-20181111100011-16092bd1d58a/go.mod h1: github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= +github.com/itchyny/gojq v0.12.13 h1:IxyYlHYIlspQHHTE0f3cJF0NKDMfajxViuhBLnHd/QU= +github.com/itchyny/gojq v0.12.13/go.mod h1:JzwzAqenfhrPUuwbmEz3nu3JQmFLlQTQMUcOdnu/Sf4= +github.com/itchyny/timefmt-go v0.1.5 h1:G0INE2la8S6ru/ZI5JecgyzbbJNs5lG1RcBqa7Jm6GE= +github.com/itchyny/timefmt-go v0.1.5/go.mod h1:nEP7L+2YmAbT2kZ2HfSs1d8Xtw9LY8D2stDBckWakZ8= github.com/jaytaylor/html2text v0.0.0-20190408195923-01ec452cbe43/go.mod h1:CVKlgaMiht+LXvHG173ujK6JUhZXKb2u/BQtjPDIvyk= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= @@ -787,8 +821,8 @@ github.com/onsi/gomega v1.25.0 h1:Vw7br2PCDYijJHSfBOWhov+8cAnUf8MfMaIOV323l6Y= github.com/onsi/gomega v1.25.0/go.mod h1:r+zV744Re+DiYCIPRlYOTxn0YkOLcAnW8k1xXdMPGhM= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/opencontainers/image-spec v1.1.0-rc.3 h1:GT9Xon8YrLxz6N7sErbN81V8J4lOQKGUZQmI3ioviqU= -github.com/opencontainers/image-spec v1.1.0-rc.3/go.mod h1:X4pATf0uXsnn3g5aiGIsVnJBR4mxhKzfwmvK/B2NTm8= +github.com/opencontainers/image-spec v1.1.0-rc4 h1:oOxKUJWnFC4YGHCCMNql1x4YaDfYBTS5Y4x/Cgeo1E0= +github.com/opencontainers/image-spec v1.1.0-rc4/go.mod h1:X4pATf0uXsnn3g5aiGIsVnJBR4mxhKzfwmvK/B2NTm8= github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opsgenie/opsgenie-go-sdk-v2 v1.0.5 h1:AnS8ZCC5dle8P4X4FZ+IOlX9v0jAkCMiZDIzRnYwBbs= github.com/opsgenie/opsgenie-go-sdk-v2 v1.0.5/go.mod h1:f0ezb0R/mrB9Hpm5RrIS6EX3ydjsR2nAB88nYYXZcNY= @@ -855,8 +889,8 @@ github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6L github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k= github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= +github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/rs/cors v1.8.0 h1:P2KMzcFwrPoSjkF1WLRPsp3UMLyql8L4v9hQpVeK5so= github.com/rs/cors v1.8.0/go.mod h1:EBwu+T5AvHOcXwvZIkQFjUN6s8Czyqw12GL/Y0tUyRM= github.com/rs/xid v1.5.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= @@ -884,10 +918,10 @@ github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic github.com/sirupsen/logrus v1.9.2/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= -github.com/skeema/knownhosts v1.1.1 h1:MTk78x9FPgDFVFkDLTrsnnfCJl7g1C/nnKvePgrIngE= -github.com/skeema/knownhosts v1.1.1/go.mod h1:g4fPeYpque7P0xefxtGzV81ihjC8sX2IqpAoNkjxbMo= -github.com/slack-go/slack v0.12.1 h1:X97b9g2hnITDtNsNe5GkGx6O2/Sz/uC20ejRZN6QxOw= -github.com/slack-go/slack v0.12.1/go.mod h1:hlGi5oXA+Gt+yWTPP0plCdRKmjsDxecdHxYQdlMQKOw= +github.com/skeema/knownhosts v1.2.0 h1:h9r9cf0+u7wSE+M183ZtMGgOJKiL96brpaz5ekfJCpM= +github.com/skeema/knownhosts v1.2.0/go.mod h1:g4fPeYpque7P0xefxtGzV81ihjC8sX2IqpAoNkjxbMo= +github.com/slack-go/slack v0.12.2 h1:x3OppyMyGIbbiyFhsBmpf9pwkUzMhthJMRNmNlA4LaQ= +github.com/slack-go/slack v0.12.2/go.mod h1:hlGi5oXA+Gt+yWTPP0plCdRKmjsDxecdHxYQdlMQKOw= github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= github.com/smartystreets/goconvey v0.0.0-20190731233626-505e41936337/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= @@ -902,8 +936,8 @@ github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTd github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= -github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= +github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= +github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= @@ -939,8 +973,13 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4= +github.com/tidwall/gjson v1.14.4 h1:uo0p8EbA09J7RQaflQ1aBRffTR7xedD2bcIVSYxLnkM= +github.com/tidwall/gjson v1.14.4/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= +github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= +github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= +github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw= @@ -1298,7 +1337,6 @@ golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220406155245-289d7a0edf71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= @@ -1421,6 +1459,8 @@ golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA= golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +golang.org/x/tools v0.7.0 h1:W4OVu8VVOaIO0yzWMNdepAulS7YfoS3Zabrm8DOXXU4= +golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -1561,8 +1601,6 @@ gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE= gopkg.in/go-playground/validator.v9 v9.29.1/go.mod h1:+c9/zcJMFNgbLvly1L1V+PpxWdVbfP1avr/N00E2vyQ= -gopkg.in/go-playground/webhooks.v5 v5.17.0 h1:truBced5ZmkiNKK47cM8bMe86wUSjNks7SFMuNKwzlc= -gopkg.in/go-playground/webhooks.v5 v5.17.0/go.mod h1:LZbya/qLVdbqDR1aKrGuWV6qbia2zCYSR5dpom2SInQ= gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df h1:n7WqCuqOuCbNr617RXOY0AWRXxgwEyPp2z+p0+hgMuE= gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df/go.mod h1:LRQQ+SO6ZHR7tOkpBDuZnXENFzX8qRjMDMyPD6BRkCw= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= @@ -1642,8 +1680,8 @@ k8s.io/utils v0.0.0-20220706174534-f6158b442e7c h1:hFZO68mv/0xe8+V0gRT9BAq3/31cK k8s.io/utils v0.0.0-20220706174534-f6158b442e7c/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= layeh.com/gopher-json v0.0.0-20190114024228-97fed8db8427 h1:RZkKxMR3jbQxdCEcglq3j7wY3PRJIopAwBlx1RE71X0= layeh.com/gopher-json v0.0.0-20190114024228-97fed8db8427/go.mod h1:ivKkcY8Zxw5ba0jldhZCYYQfGdb2K6u9tbYK1AwMIBc= -oras.land/oras-go/v2 v2.2.0 h1:E1fqITD56Eg5neZbxBtAdZVgDHD6wBabJo6xESTcQyo= -oras.land/oras-go/v2 v2.2.0/go.mod h1:pXjn0+KfarspMHHNR3A56j3tgvr+mxArHuI8qVn59v8= +oras.land/oras-go/v2 v2.3.0 h1:lqX1aXdN+DAmDTKjiDyvq85cIaI4RkIKp/PghWlAGIU= +oras.land/oras-go/v2 v2.3.0/go.mod h1:GeAwLuC4G/JpNwkd+bSZ6SkDMGaaYglt6YK2WvZP7uQ= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= @@ -1663,8 +1701,8 @@ sigs.k8s.io/kustomize/kyaml v0.13.7 h1:/EZ/nPaLUzeJKF/BuJ4QCuMVJWiEVoI8iftOHY3g3 sigs.k8s.io/kustomize/kyaml v0.13.7/go.mod h1:6K+IUOuir3Y7nucPRAjw9yth04KSWBnP5pqUTGwj/qU= sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= -sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= -sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= +sigs.k8s.io/structured-merge-diff/v4 v4.3.0 h1:UZbZAZfX0wV2zr7YZorDz6GXROfDFj6LvqCRm4VUVKk= +sigs.k8s.io/structured-merge-diff/v4 v4.3.0/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= diff --git a/scripts/testacc_prepare_env.sh b/scripts/testacc_prepare_env.sh index 82b5e8cb..a0825293 100755 --- a/scripts/testacc_prepare_env.sh +++ b/scripts/testacc_prepare_env.sh @@ -4,7 +4,7 @@ set -e export PATH=$PATH:. -argocd_version=${ARGOCD_VERSION:-v2.8.3} +argocd_version=${ARGOCD_VERSION:-v2.9.2} k8s_version=${ARGOCD_KUBERNETES_VERSION:-v1.24.7} echo "\n--- Clearing current kube context\n" From 4e4862186cc75429f4b7e312ad3d242e87ca2ef0 Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Tue, 26 Dec 2023 16:19:21 +0530 Subject: [PATCH 02/18] support for kustomize patches added --- argocd/resource_argocd_application_test.go | 23 +- argocd/schema_application.go | 116 +++ argocd/structure_application.go | 35 + docs/resources/application.md | 22 + docs/resources/application_set.md | 1090 +++++++++++++++++++- 5 files changed, 1274 insertions(+), 12 deletions(-) diff --git a/argocd/resource_argocd_application_test.go b/argocd/resource_argocd_application_test.go index 809752d2..2c1e0996 100644 --- a/argocd/resource_argocd_application_test.go +++ b/argocd/resource_argocd_application_test.go @@ -1236,19 +1236,30 @@ resource "argocd_application" "kustomize" { path = "examples/helloWorld" target_revision = "release-kustomize-v3.7" kustomize { - name_prefix = "foo-" + name_prefix = "foo-" name_suffix = "-bar" images = [ - "hashicorp/terraform:light", - ] + "hashicorp/terraform:light", + ] common_labels = { "this.is.a.common" = "la-bel" "another.io/one" = "true" - } - common_annotations = { + } + common_annotations = { "this.is.a.common" = "anno-tation" "another.io/one" = "false" - } + } + // patches { + // target { + // kind = "Deployment" + // name = "the-deployment" + // } + // patch = <<-EOT + // - op: replace + // path: /spec/template/spec/containers/0/ports/0/containerPort + // value: 443 + // EOT + // } } } diff --git a/argocd/schema_application.go b/argocd/schema_application.go index d12da281..dc63c6c2 100644 --- a/argocd/schema_application.go +++ b/argocd/schema_application.go @@ -148,6 +148,35 @@ func applicationSpecSchemaV0() *schema.Schema { Elem: &schema.Schema{Type: schema.TypeString}, ValidateFunc: validateMetadataAnnotations, }, + "patches": { + Type: schema.TypeList, + Optional: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "target": { + Type: schema.TypeSet, + Required: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "kind": { + Type: schema.TypeString, + Optional: true, + }, + "name": { + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "patch": { + Type: schema.TypeString, + Optional: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + }, + }, + }, }, }, }, @@ -528,6 +557,35 @@ func applicationSpecSchemaV1() *schema.Schema { Elem: &schema.Schema{Type: schema.TypeString}, ValidateFunc: validateMetadataAnnotations, }, + "patches": { + Type: schema.TypeList, + Optional: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "target": { + Type: schema.TypeSet, + Required: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "kind": { + Type: schema.TypeString, + Optional: true, + }, + "name": { + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "patch": { + Type: schema.TypeString, + Optional: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + }, + }, + }, }, }, }, @@ -960,6 +1018,35 @@ func applicationSpecSchemaV2() *schema.Schema { Elem: &schema.Schema{Type: schema.TypeString}, ValidateFunc: validateMetadataAnnotations, }, + "patches": { + Type: schema.TypeList, + Optional: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "target": { + Type: schema.TypeSet, + Required: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "kind": { + Type: schema.TypeString, + Optional: true, + }, + "name": { + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "patch": { + Type: schema.TypeString, + Optional: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + }, + }, + }, }, }, }, @@ -1436,6 +1523,35 @@ func applicationSpecSchemaV4(allOptional bool) *schema.Schema { Elem: &schema.Schema{Type: schema.TypeString}, ValidateFunc: validateMetadataAnnotations, }, + "patches": { + Type: schema.TypeList, + Optional: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "target": { + Type: schema.TypeSet, + Required: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + "kind": { + Type: schema.TypeString, + Optional: true, + }, + "name": { + Type: schema.TypeString, + Optional: true, + }, + }, + }, + }, + "patch": { + Type: schema.TypeString, + Optional: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + }, + }, + }, }, }, }, diff --git a/argocd/structure_application.go b/argocd/structure_application.go index 1f620c5c..cdc0df7b 100644 --- a/argocd/structure_application.go +++ b/argocd/structure_application.go @@ -234,6 +234,41 @@ func expandApplicationSourceKustomize(in []interface{}) *application.Application } } + if patches, ok := a["patches"]; ok { + for _, v := range patches.([]interface{}) { + patchMap := v.(map[string]interface{}) + kustomizePatch := application.KustomizePatch{} + + if patch, ok := patchMap["patch"]; ok { + kustomizePatch.Patch = patch.(string) + } + + if target, ok := patchMap["target"]; ok { + targetList := target.(*schema.Set).List() + if len(targetList) > 0 { + targetMap := targetList[0].(map[string]interface{}) + kustomizeSelector := application.KustomizeSelector{ + KustomizeResId: application.KustomizeResId{ + KustomizeGvk: application.KustomizeGvk{}, + }, + } + + if kind, ok := targetMap["kind"]; ok { + kustomizeSelector.KustomizeResId.KustomizeGvk.Kind = kind.(string) + } + + if name, ok := targetMap["name"]; ok { + kustomizeSelector.KustomizeResId.Name = name.(string) + } + + kustomizePatch.Target = &kustomizeSelector + } + } + + result.Patches = append(result.Patches, kustomizePatch) + } + } + return result } diff --git a/docs/resources/application.md b/docs/resources/application.md index 5d143642..2ebb8244 100644 --- a/docs/resources/application.md +++ b/docs/resources/application.md @@ -330,8 +330,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.source.plugin` diff --git a/docs/resources/application_set.md b/docs/resources/application_set.md index d2465ca7..7f4e969b 100644 --- a/docs/resources/application_set.md +++ b/docs/resources/application_set.md @@ -815,8 +815,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.cluster_decision_resource.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.cluster_decision_resource.template.spec.source.plugin` @@ -1083,8 +1105,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.clusters.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--clusters--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.clusters.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.clusters.template.spec.source.plugin` @@ -1357,8 +1401,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.git.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--git--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.git.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.git.template.spec.source.plugin` @@ -1607,8 +1673,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.list.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--list--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.list.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.list.template.spec.source.plugin` @@ -1906,8 +1994,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.cluster_decision_resource.template.spec.source.plugin` @@ -2174,8 +2284,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.clusters.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.clusters.template.spec.source.plugin` @@ -2448,8 +2580,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.git.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--git--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.git.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.git.template.spec.source.plugin` @@ -2698,8 +2852,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.list.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--list--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.list.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.list.template.spec.source.plugin` @@ -2995,8 +3171,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.cluster_decision_resource.template.spec.source.plugin` @@ -3263,8 +3461,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.clusters.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.clusters.template.spec.source.plugin` @@ -3537,8 +3757,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.git.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--git--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.git.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.git.template.spec.source.plugin` @@ -3787,8 +4029,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.list.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--list--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.list.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.list.template.spec.source.plugin` @@ -4152,8 +4416,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.pull_request.template.spec.source.plugin` @@ -4570,8 +4856,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.scm_provider.template.spec.source.plugin` @@ -4829,8 +5137,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.matrix.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.matrix.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.matrix.template.spec.source.plugin` @@ -5127,8 +5457,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.merge.generator.cluster_decision_resource.template.spec.source.plugin` @@ -5395,8 +5747,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.clusters.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.merge.generator.clusters.template.spec.source.plugin` @@ -5669,8 +6043,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.git.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--git--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.git.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.merge.generator.git.template.spec.source.plugin` @@ -5919,8 +6315,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.list.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--list--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.list.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.merge.generator.list.template.spec.source.plugin` @@ -6284,8 +6702,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.pull_request.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.merge.generator.pull_request.template.spec.source.plugin` @@ -6702,8 +7142,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.merge.generator.scm_provider.template.spec.source.plugin` @@ -6961,8 +7423,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.merge.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.merge.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.merge.template.spec.source.plugin` @@ -7326,8 +7810,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.pull_request.template.spec.source.plugin` @@ -7744,8 +8250,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.generator.scm_provider.template.spec.source.plugin` @@ -8003,8 +8531,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.matrix.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.matrix.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.matrix.template.spec.source.plugin` @@ -8303,8 +8853,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.cluster_decision_resource.template.spec.source.plugin` @@ -8571,8 +9143,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.clusters.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.clusters.template.spec.source.plugin` @@ -8845,8 +9439,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.git.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--git--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.git.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.git.template.spec.source.plugin` @@ -9095,8 +9711,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.list.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--list--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.list.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.list.template.spec.source.plugin` @@ -9387,12 +10025,34 @@ Optional: Optional: -- `common_annotations` (Map of String) List of additional annotations to add to rendered manifests. -- `common_labels` (Map of String) List of additional labels to add to rendered manifests. -- `images` (Set of String) List of Kustomize image override specifications. -- `name_prefix` (String) Prefix appended to resources for Kustomize apps. -- `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `version` (String) Version of Kustomize to use for rendering manifests. +- `common_annotations` (Map of String) List of additional annotations to add to rendered manifests. +- `common_labels` (Map of String) List of additional labels to add to rendered manifests. +- `images` (Set of String) List of Kustomize image override specifications. +- `name_prefix` (String) Prefix appended to resources for Kustomize apps. +- `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) +- `version` (String) Version of Kustomize to use for rendering manifests. + + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + @@ -9660,8 +10320,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.clusters.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.matrix.generator.clusters.template.spec.source.plugin` @@ -9934,8 +10616,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.git.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--git--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.git.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.matrix.generator.git.template.spec.source.plugin` @@ -10184,8 +10888,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.list.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--list--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.list.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.matrix.generator.list.template.spec.source.plugin` @@ -10549,8 +11275,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.matrix.generator.pull_request.template.spec.source.plugin` @@ -10967,8 +11715,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.matrix.generator.scm_provider.template.spec.source.plugin` @@ -11226,8 +11996,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.matrix.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.matrix.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.matrix.template.spec.source.plugin` @@ -11524,8 +12316,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.merge.generator.cluster_decision_resource.template.spec.source.plugin` @@ -11792,8 +12606,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.merge.generator.clusters.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.merge.generator.clusters.template.spec.source.plugin` @@ -12066,8 +12902,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.merge.generator.git.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--git--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.merge.generator.git.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.merge.generator.git.template.spec.source.plugin` @@ -12316,8 +13174,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.merge.generator.list.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--list--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.merge.generator.list.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.merge.generator.list.template.spec.source.plugin` @@ -12681,8 +13561,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.merge.generator.pull_request.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.merge.generator.pull_request.template.spec.source.plugin` @@ -13099,8 +14001,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.merge.generator.scm_provider.template.spec.source.plugin` @@ -13358,8 +14282,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.merge.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.merge.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.merge.template.spec.source.plugin` @@ -13723,8 +14669,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.pull_request.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.pull_request.template.spec.source.plugin` @@ -14141,8 +15109,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.generator.scm_provider.template.spec.source.plugin` @@ -14400,8 +15390,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.merge.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.merge.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.merge.template.spec.source.plugin` @@ -14765,8 +15777,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.pull_request.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--pull_request--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.pull_request.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.pull_request.template.spec.source.plugin` @@ -15183,8 +16217,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.generator.scm_provider.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--scm_provider--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.generator.scm_provider.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.generator.scm_provider.template.spec.source.plugin` @@ -15429,8 +16485,30 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. +- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. + +### Nested Schema for `spec.template.spec.source.kustomize.patches` + +Required: + +- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--template--spec--source--kustomize--patches--target)) + +Optional: + +- `patch` (String) + + +### Nested Schema for `spec.template.spec.source.kustomize.patches.target` + +Optional: + +- `kind` (String) +- `name` (String) + + + ### Nested Schema for `spec.template.spec.source.plugin` From 6913749431bf60f0ddd106ec00cd683d56d61188 Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Tue, 26 Dec 2023 16:25:53 +0530 Subject: [PATCH 03/18] testcase updated --- argocd/resource_argocd_application_test.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/argocd/resource_argocd_application_test.go b/argocd/resource_argocd_application_test.go index 2c1e0996..f445ee4f 100644 --- a/argocd/resource_argocd_application_test.go +++ b/argocd/resource_argocd_application_test.go @@ -1249,17 +1249,17 @@ resource "argocd_application" "kustomize" { "this.is.a.common" = "anno-tation" "another.io/one" = "false" } - // patches { - // target { - // kind = "Deployment" - // name = "the-deployment" - // } - // patch = <<-EOT - // - op: replace - // path: /spec/template/spec/containers/0/ports/0/containerPort - // value: 443 - // EOT - // } + patches { + target { + kind = "Deployment" + name = "the-deployment" + } + patch = <<-EOT + - op: replace + path: /spec/template/spec/containers/0/ports/0/containerPort + value: 443 + EOT + } } } From 2aa264855657bfe962d9cdf7f7c5ef2afe07e22f Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Tue, 26 Dec 2023 17:00:19 +0530 Subject: [PATCH 04/18] go formatted --- argocd/schema_application.go | 8 ++++---- argocd/structure_application.go | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/argocd/schema_application.go b/argocd/schema_application.go index dc63c6c2..1e90390e 100644 --- a/argocd/schema_application.go +++ b/argocd/schema_application.go @@ -172,7 +172,7 @@ func applicationSpecSchemaV0() *schema.Schema { "patch": { Type: schema.TypeString, Optional: true, - Elem: &schema.Schema{Type: schema.TypeString}, + Elem: &schema.Schema{Type: schema.TypeString}, }, }, }, @@ -581,7 +581,7 @@ func applicationSpecSchemaV1() *schema.Schema { "patch": { Type: schema.TypeString, Optional: true, - Elem: &schema.Schema{Type: schema.TypeString}, + Elem: &schema.Schema{Type: schema.TypeString}, }, }, }, @@ -1042,7 +1042,7 @@ func applicationSpecSchemaV2() *schema.Schema { "patch": { Type: schema.TypeString, Optional: true, - Elem: &schema.Schema{Type: schema.TypeString}, + Elem: &schema.Schema{Type: schema.TypeString}, }, }, }, @@ -1547,7 +1547,7 @@ func applicationSpecSchemaV4(allOptional bool) *schema.Schema { "patch": { Type: schema.TypeString, Optional: true, - Elem: &schema.Schema{Type: schema.TypeString}, + Elem: &schema.Schema{Type: schema.TypeString}, }, }, }, diff --git a/argocd/structure_application.go b/argocd/structure_application.go index cdc0df7b..42479bb4 100644 --- a/argocd/structure_application.go +++ b/argocd/structure_application.go @@ -235,7 +235,7 @@ func expandApplicationSourceKustomize(in []interface{}) *application.Application } if patches, ok := a["patches"]; ok { - for _, v := range patches.([]interface{}) { + for _, v := range patches.([]interface{}) { patchMap := v.(map[string]interface{}) kustomizePatch := application.KustomizePatch{} From 14536574e415caad34fb350ff1ab15adafadeece Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Tue, 26 Dec 2023 17:59:49 +0530 Subject: [PATCH 05/18] test case value updated --- argocd/resource_argocd_application_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/argocd/resource_argocd_application_test.go b/argocd/resource_argocd_application_test.go index f445ee4f..5cb4ae1c 100644 --- a/argocd/resource_argocd_application_test.go +++ b/argocd/resource_argocd_application_test.go @@ -1255,9 +1255,9 @@ resource "argocd_application" "kustomize" { name = "the-deployment" } patch = <<-EOT - - op: replace - path: /spec/template/spec/containers/0/ports/0/containerPort - value: 443 + - op: replace + path: /spec/template/spec/containers/0/name + value: the-container-1 EOT } } From e493cd0187384338b395f0c9a4d058cacaf28197 Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Wed, 27 Dec 2023 01:06:53 +0530 Subject: [PATCH 06/18] flattenApplicationSourceKustomize updated with patch config --- argocd/structure_application.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/argocd/structure_application.go b/argocd/structure_application.go index 42479bb4..c9c6c96a 100644 --- a/argocd/structure_application.go +++ b/argocd/structure_application.go @@ -780,7 +780,23 @@ func flattenApplicationSourceKustomize(as []*application.ApplicationSourceKustom images = append(images, string(i)) } + var patches []map[string]interface{} + for _, p := range a.Patches { + target := make(map[string]interface{}) + if p.Target != nil { + target = map[string]interface{}{ + "kind": p.Target.KustomizeResId.KustomizeGvk.Kind, + "name": p.Target.KustomizeResId.Name, + } + } + patches = append(patches, map[string]interface{}{ + "patch": p.Patch, + "target": []map[string]interface{}{target}, + }) + } + result = append(result, map[string]interface{}{ + "patches": patches, "common_annotations": a.CommonAnnotations, "common_labels": a.CommonLabels, "images": images, From 2a589ce6017db540311503753454d7ae2d312e62 Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Wed, 27 Dec 2023 01:27:05 +0530 Subject: [PATCH 07/18] go lint issue fixed --- argocd/structure_application.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/argocd/structure_application.go b/argocd/structure_application.go index c9c6c96a..6f82edb9 100644 --- a/argocd/structure_application.go +++ b/argocd/structure_application.go @@ -781,6 +781,7 @@ func flattenApplicationSourceKustomize(as []*application.ApplicationSourceKustom } var patches []map[string]interface{} + for _, p := range a.Patches { target := make(map[string]interface{}) if p.Target != nil { @@ -789,6 +790,7 @@ func flattenApplicationSourceKustomize(as []*application.ApplicationSourceKustom "name": p.Target.KustomizeResId.Name, } } + patches = append(patches, map[string]interface{}{ "patch": p.Patch, "target": []map[string]interface{}{target}, From 923e02f3b91fed814ef5f2e554f350b88d8b2b79 Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Wed, 27 Dec 2023 01:41:12 +0530 Subject: [PATCH 08/18] flattenApplicationSourceKustomize return statement updated --- argocd/structure_application.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argocd/structure_application.go b/argocd/structure_application.go index 6f82edb9..f753aff7 100644 --- a/argocd/structure_application.go +++ b/argocd/structure_application.go @@ -809,7 +809,7 @@ func flattenApplicationSourceKustomize(as []*application.ApplicationSourceKustom } } - return + return result } func flattenApplicationSourceHelm(as []*application.ApplicationSourceHelm) (result []map[string]interface{}) { From d049568fbf3d18da1c0505c1f31e0d1caf835405 Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Wed, 27 Dec 2023 09:31:12 +0530 Subject: [PATCH 09/18] v2.9.2 added to the test --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 055b3e36..d7fb92b6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,7 +48,7 @@ jobs: strategy: fail-fast: false matrix: - argocd_version: ["v2.6.15", "v2.7.14", "v2.8.3"] + argocd_version: ["v2.6.15", "v2.7.14", "v2.8.3", "v2.9.2"] steps: - name: Check out code uses: actions/checkout@v4 From 1360a2a821ea772556ee6d5a363a7f390d947047 Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Wed, 27 Dec 2023 10:20:09 +0530 Subject: [PATCH 10/18] testcase alignment formatted --- argocd/resource_argocd_application_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/argocd/resource_argocd_application_test.go b/argocd/resource_argocd_application_test.go index 5cb4ae1c..0ebed4c0 100644 --- a/argocd/resource_argocd_application_test.go +++ b/argocd/resource_argocd_application_test.go @@ -1254,10 +1254,11 @@ resource "argocd_application" "kustomize" { kind = "Deployment" name = "the-deployment" } + # alignment will cause unable to parse SM or JSON patch error patch = <<-EOT - - op: replace - path: /spec/template/spec/containers/0/name - value: the-container-1 + - op: replace + path: /spec/template/spec/containers/0/name + value: the-container-1 EOT } } From 8564961fe6312222ee49fde40f44bed3590ef31e Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Wed, 27 Dec 2023 19:38:41 +0530 Subject: [PATCH 11/18] application schema updated --- argocd/schema_application.go | 87 ------------------------------------ 1 file changed, 87 deletions(-) diff --git a/argocd/schema_application.go b/argocd/schema_application.go index 1e90390e..404583b8 100644 --- a/argocd/schema_application.go +++ b/argocd/schema_application.go @@ -148,35 +148,6 @@ func applicationSpecSchemaV0() *schema.Schema { Elem: &schema.Schema{Type: schema.TypeString}, ValidateFunc: validateMetadataAnnotations, }, - "patches": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "target": { - Type: schema.TypeSet, - Required: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "kind": { - Type: schema.TypeString, - Optional: true, - }, - "name": { - Type: schema.TypeString, - Optional: true, - }, - }, - }, - }, - "patch": { - Type: schema.TypeString, - Optional: true, - Elem: &schema.Schema{Type: schema.TypeString}, - }, - }, - }, - }, }, }, }, @@ -557,35 +528,6 @@ func applicationSpecSchemaV1() *schema.Schema { Elem: &schema.Schema{Type: schema.TypeString}, ValidateFunc: validateMetadataAnnotations, }, - "patches": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "target": { - Type: schema.TypeSet, - Required: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "kind": { - Type: schema.TypeString, - Optional: true, - }, - "name": { - Type: schema.TypeString, - Optional: true, - }, - }, - }, - }, - "patch": { - Type: schema.TypeString, - Optional: true, - Elem: &schema.Schema{Type: schema.TypeString}, - }, - }, - }, - }, }, }, }, @@ -1018,35 +960,6 @@ func applicationSpecSchemaV2() *schema.Schema { Elem: &schema.Schema{Type: schema.TypeString}, ValidateFunc: validateMetadataAnnotations, }, - "patches": { - Type: schema.TypeList, - Optional: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "target": { - Type: schema.TypeSet, - Required: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - "kind": { - Type: schema.TypeString, - Optional: true, - }, - "name": { - Type: schema.TypeString, - Optional: true, - }, - }, - }, - }, - "patch": { - Type: schema.TypeString, - Optional: true, - Elem: &schema.Schema{Type: schema.TypeString}, - }, - }, - }, - }, }, }, }, From 98013eed7efd872fdc07f5b500eea7e46d897269 Mon Sep 17 00:00:00 2001 From: Brian Fox Date: Sat, 23 Mar 2024 16:43:07 +0100 Subject: [PATCH 12/18] chore: tabs over spaces We're in a `.go` file --- argocd/resource_argocd_application_test.go | 88 +++++++++++----------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/argocd/resource_argocd_application_test.go b/argocd/resource_argocd_application_test.go index 0ebed4c0..5e802720 100644 --- a/argocd/resource_argocd_application_test.go +++ b/argocd/resource_argocd_application_test.go @@ -1222,53 +1222,53 @@ resource "argocd_application" "helm_file_parameters" { func testAccArgoCDApplicationKustomize(name string) string { return fmt.Sprintf(` resource "argocd_application" "kustomize" { - metadata { - name = "%s" - namespace = "argocd" - labels = { - acceptance = "true" - } - } + metadata { + name = "%s" + namespace = "argocd" + labels = { + acceptance = "true" + } + } - spec { - source { - repo_url = "https://github.com/kubernetes-sigs/kustomize" - path = "examples/helloWorld" - target_revision = "release-kustomize-v3.7" - kustomize { - name_prefix = "foo-" - name_suffix = "-bar" - images = [ - "hashicorp/terraform:light", - ] - common_labels = { - "this.is.a.common" = "la-bel" - "another.io/one" = "true" - } - common_annotations = { - "this.is.a.common" = "anno-tation" - "another.io/one" = "false" - } - patches { - target { - kind = "Deployment" - name = "the-deployment" + spec { + source { + repo_url = "https://github.com/kubernetes-sigs/kustomize" + path = "examples/helloWorld" + target_revision = "release-kustomize-v3.7" + kustomize { + name_prefix = "foo-" + name_suffix = "-bar" + images = [ + "foo=hashicorp/terraform:light", + ] + common_labels = { + "this.is.a.common" = "la-bel" + "another.io/one" = "true" + } + common_annotations = { + "this.is.a.common" = "anno-tation" + "another.io/one" = "false" + } + patches { + target { + kind = "Deployment" + name = "the-deployment" + } + + patch = <<-EOT +- op: replace + path: /spec/template/spec/containers/0/name + value: the-container-1 +EOT + } } - # alignment will cause unable to parse SM or JSON patch error - patch = <<-EOT - - op: replace - path: /spec/template/spec/containers/0/name - value: the-container-1 - EOT - } - } - } + } - destination { - server = "https://kubernetes.default.svc" - namespace = "default" - } - } + destination { + server = "https://kubernetes.default.svc" + namespace = "default" + } + } } `, name) } From ba00bfc218661763131ba2231cdc3e608a5f885b Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Tue, 26 Mar 2024 00:49:22 +0530 Subject: [PATCH 13/18] feature flag added descriptions added full attributes added --- argocd/resource_argocd_application_test.go | 2 +- argocd/schema_application.go | 31 ++++++++++++++++++++++ internal/features/features.go | 2 ++ 3 files changed, 34 insertions(+), 1 deletion(-) diff --git a/argocd/resource_argocd_application_test.go b/argocd/resource_argocd_application_test.go index 5e802720..6cf19406 100644 --- a/argocd/resource_argocd_application_test.go +++ b/argocd/resource_argocd_application_test.go @@ -171,7 +171,7 @@ func TestAccArgoCDApplication_Helm_FileParameters(t *testing.T) { func TestAccArgoCDApplication_Kustomize(t *testing.T) { resource.ParallelTest(t, resource.TestCase{ - PreCheck: func() { testAccPreCheck(t) }, + PreCheck: func() { testAccPreCheck(t); testAccPreCheckFeatureSupported(t, features.ApplicationKustomizePatches) }, ProviderFactories: testAccProviders, Steps: []resource.TestStep{ { diff --git a/argocd/schema_application.go b/argocd/schema_application.go index 6add1257..7ec14b20 100644 --- a/argocd/schema_application.go +++ b/argocd/schema_application.go @@ -1438,6 +1438,7 @@ func applicationSpecSchemaV4(allOptional bool) *schema.Schema { }, "patches": { Type: schema.TypeList, + Description: "Patches is a list of Kustomize patches", Optional: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ @@ -1454,6 +1455,26 @@ func applicationSpecSchemaV4(allOptional bool) *schema.Schema { Type: schema.TypeString, Optional: true, }, + "labelSelector": { + Type: schema.TypeString, + Optional: true, + }, + "annotationSelector": { + Type: schema.TypeString, + Optional: true, + }, + "group": { + Type: schema.TypeString, + Optional: true, + }, + "namespace": { + Type: schema.TypeString, + Optional: true, + }, + "version": { + Type: schema.TypeString, + Optional: true, + }, }, }, }, @@ -1462,6 +1483,16 @@ func applicationSpecSchemaV4(allOptional bool) *schema.Schema { Optional: true, Elem: &schema.Schema{Type: schema.TypeString}, }, + "path": { + Type: schema.TypeString, + Optional: true, + Elem: &schema.Schema{Type: schema.TypeString}, + }, + "options": { + Type: schema.TypeMap, + Optional: true, + Elem: &schema.Schema{Type: schema.TypeBool}, + }, }, }, }, diff --git a/internal/features/features.go b/internal/features/features.go index eb5887b4..ecbda03d 100644 --- a/internal/features/features.go +++ b/internal/features/features.go @@ -15,6 +15,7 @@ const ( ManagedNamespaceMetadata ApplicationSetApplicationsSyncPolicy ApplicationSetIgnoreApplicationDifferences + ApplicationKustomizePatches ) type FeatureConstraint struct { @@ -31,4 +32,5 @@ var ConstraintsMap = map[Feature]FeatureConstraint{ ManagedNamespaceMetadata: {"managed namespace metadsata", semver.MustParse("2.6.0")}, ApplicationSetApplicationsSyncPolicy: {"application set level application sync policy", semver.MustParse("2.8.0")}, ApplicationSetIgnoreApplicationDifferences: {"application set ignore application differences", semver.MustParse("2.9.0")}, + ApplicationKustomizePatches: {"application kustomize patches", semver.MustParse("2.9.0")}, } From 013d9bd67912a209491e366f66cac3738363eac6 Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Tue, 26 Mar 2024 01:15:53 +0530 Subject: [PATCH 14/18] format updated --- argocd/schema_application.go | 4 +- docs/resources/application.md | 9 +- docs/resources/application_set.md | 441 ++++++++++++++++++++++++++---- 3 files changed, 402 insertions(+), 52 deletions(-) diff --git a/argocd/schema_application.go b/argocd/schema_application.go index 7ec14b20..be4a673e 100644 --- a/argocd/schema_application.go +++ b/argocd/schema_application.go @@ -1437,9 +1437,9 @@ func applicationSpecSchemaV4(allOptional bool) *schema.Schema { ValidateFunc: validateMetadataAnnotations, }, "patches": { - Type: schema.TypeList, + Type: schema.TypeList, Description: "Patches is a list of Kustomize patches", - Optional: true, + Optional: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "target": { diff --git a/docs/resources/application.md b/docs/resources/application.md index 2ebb8244..22930a6b 100644 --- a/docs/resources/application.md +++ b/docs/resources/application.md @@ -330,7 +330,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -342,15 +342,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) diff --git a/docs/resources/application_set.md b/docs/resources/application_set.md index 459e592e..7b343fc3 100644 --- a/docs/resources/application_set.md +++ b/docs/resources/application_set.md @@ -816,7 +816,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -828,15 +828,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -1106,7 +1113,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--clusters--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -1118,15 +1125,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.clusters.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -1402,7 +1416,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--git--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -1414,15 +1428,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.git.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -1674,7 +1695,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--list--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -1686,15 +1707,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.list.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -1995,7 +2023,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -2007,15 +2035,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -2285,7 +2320,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--clusters--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -2297,15 +2332,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -2581,7 +2623,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--git--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -2593,15 +2635,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.git.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -2853,7 +2902,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--list--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -2865,15 +2914,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.list.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -3172,7 +3228,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -3184,15 +3240,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -3462,7 +3525,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--clusters--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -3474,15 +3537,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -3758,7 +3828,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--git--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -3770,15 +3840,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.git.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -4030,7 +4107,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--list--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -4042,15 +4119,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.list.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -4417,7 +4501,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -4429,15 +4513,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -4857,7 +4948,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -4869,15 +4960,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -5138,7 +5236,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -5150,15 +5248,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.matrix.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -5458,7 +5563,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -5470,15 +5575,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -5748,7 +5860,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--clusters--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -5760,15 +5872,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -6044,7 +6163,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--git--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -6056,15 +6175,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.merge.generator.git.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -6316,7 +6442,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--list--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -6328,15 +6454,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.merge.generator.list.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -6703,7 +6836,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--pull_request--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -6715,15 +6848,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -7143,7 +7283,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -7155,15 +7295,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -7424,7 +7571,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -7436,15 +7583,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.merge.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -7811,7 +7965,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -7823,15 +7977,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -8251,7 +8412,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -8263,15 +8424,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -8532,7 +8700,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--matrix--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--matrix--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -8544,15 +8712,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.matrix.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -8854,7 +9029,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -8866,15 +9041,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -9144,7 +9326,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--clusters--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -9156,15 +9338,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -9440,7 +9629,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--git--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -9452,15 +9641,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.git.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -9712,7 +9908,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--list--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -9724,15 +9920,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.list.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -10031,7 +10234,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -10043,15 +10246,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -10321,7 +10531,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--clusters--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -10333,15 +10543,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -10617,7 +10834,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--git--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -10629,15 +10846,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.matrix.generator.git.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -10889,7 +11113,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--list--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -10901,15 +11125,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.matrix.generator.list.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -11276,7 +11507,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -11288,15 +11519,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -11716,7 +11954,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -11728,15 +11966,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -11997,7 +12242,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -12009,15 +12254,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.matrix.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -12317,7 +12569,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -12329,15 +12581,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -12607,7 +12866,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--clusters--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--clusters--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -12619,15 +12878,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -12903,7 +13169,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--git--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--git--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -12915,15 +13181,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.merge.generator.git.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -13175,7 +13448,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--list--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--list--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -13187,15 +13460,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.merge.generator.list.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -13562,7 +13842,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--pull_request--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -13574,15 +13854,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -14002,7 +14289,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -14014,15 +14301,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -14283,7 +14577,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -14295,15 +14589,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.merge.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -14670,7 +14971,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--pull_request--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -14682,15 +14983,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -15110,7 +15418,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -15122,15 +15430,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -15391,7 +15706,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--merge--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--merge--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -15403,15 +15718,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.merge.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -15778,7 +16100,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--pull_request--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--pull_request--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -15790,15 +16112,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -16218,7 +16547,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--generator--scm_provider--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--generator--scm_provider--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -16230,15 +16559,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) @@ -16486,7 +16822,7 @@ Optional: - `images` (Set of String) List of Kustomize image override specifications. - `name_prefix` (String) Prefix appended to resources for Kustomize apps. - `name_suffix` (String) Suffix appended to resources for Kustomize apps. -- `patches` (Block List) (see [below for nested schema](#nestedblock--spec--template--spec--source--kustomize--patches)) +- `patches` (Block List) Patches is a list of Kustomize patches (see [below for nested schema](#nestedblock--spec--template--spec--source--kustomize--patches)) - `version` (String) Version of Kustomize to use for rendering manifests. @@ -16498,15 +16834,22 @@ Required: Optional: +- `options` (Map of Boolean) - `patch` (String) +- `path` (String) ### Nested Schema for `spec.template.spec.source.kustomize.patches.target` Optional: +- `annotationSelector` (String) +- `group` (String) - `kind` (String) +- `labelSelector` (String) - `name` (String) +- `namespace` (String) +- `version` (String) From 452bb1e01d3cafc5e9e8f685da9dc41151fa1270 Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Tue, 26 Mar 2024 19:31:25 +0530 Subject: [PATCH 15/18] typo fixed --- argocd/resource_argocd_application_test.go | 8 +- argocd/schema_application.go | 65 +- docs/resources/application.md | 22 +- docs/resources/application_set.md | 1078 ++++++++++---------- 4 files changed, 592 insertions(+), 581 deletions(-) diff --git a/argocd/resource_argocd_application_test.go b/argocd/resource_argocd_application_test.go index 6cf19406..28391561 100644 --- a/argocd/resource_argocd_application_test.go +++ b/argocd/resource_argocd_application_test.go @@ -1256,10 +1256,10 @@ resource "argocd_application" "kustomize" { } patch = <<-EOT -- op: replace - path: /spec/template/spec/containers/0/name - value: the-container-1 -EOT + - op: replace + path: /spec/template/spec/containers/0/name + value: the-container-1 + EOT } } } diff --git a/argocd/schema_application.go b/argocd/schema_application.go index be4a673e..4c93a637 100644 --- a/argocd/schema_application.go +++ b/argocd/schema_application.go @@ -1443,55 +1443,66 @@ func applicationSpecSchemaV4(allOptional bool) *schema.Schema { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "target": { - Type: schema.TypeSet, - Required: true, + Type: schema.TypeSet, + Description: "Targets to Patch", + Required: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "kind": { - Type: schema.TypeString, - Optional: true, + Type: schema.TypeString, + Description: "kind", + Optional: true, }, "name": { - Type: schema.TypeString, - Optional: true, + Type: schema.TypeString, + Description: "name", + Optional: true, }, - "labelSelector": { - Type: schema.TypeString, - Optional: true, + "label_selector": { + Type: schema.TypeString, + Description: "Label Selectors", + Optional: true, }, - "annotationSelector": { - Type: schema.TypeString, - Optional: true, + "annotation_selector": { + Type: schema.TypeString, + Description: "Annotation Selectors", + Optional: true, }, "group": { - Type: schema.TypeString, - Optional: true, + Type: schema.TypeString, + Description: "group", + Optional: true, }, "namespace": { - Type: schema.TypeString, - Optional: true, + Type: schema.TypeString, + Description: "namespace", + Optional: true, }, "version": { - Type: schema.TypeString, - Optional: true, + Type: schema.TypeString, + Description: "version", + Optional: true, }, }, }, }, "patch": { - Type: schema.TypeString, - Optional: true, - Elem: &schema.Schema{Type: schema.TypeString}, + Type: schema.TypeString, + Description: "patch", + Optional: true, + Elem: &schema.Schema{Type: schema.TypeString}, }, "path": { - Type: schema.TypeString, - Optional: true, - Elem: &schema.Schema{Type: schema.TypeString}, + Type: schema.TypeString, + Description: "path", + Optional: true, + Elem: &schema.Schema{Type: schema.TypeString}, }, "options": { - Type: schema.TypeMap, - Optional: true, - Elem: &schema.Schema{Type: schema.TypeBool}, + Type: schema.TypeMap, + Description: "options", + Optional: true, + Elem: &schema.Schema{Type: schema.TypeBool}, }, }, }, diff --git a/docs/resources/application.md b/docs/resources/application.md index 22930a6b..7bcbc00c 100644 --- a/docs/resources/application.md +++ b/docs/resources/application.md @@ -338,26 +338,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version diff --git a/docs/resources/application_set.md b/docs/resources/application_set.md index 7b343fc3..9bb1c8d1 100644 --- a/docs/resources/application_set.md +++ b/docs/resources/application_set.md @@ -824,26 +824,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -1121,26 +1121,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--clusters--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--clusters--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.clusters.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -1424,26 +1424,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--git--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--git--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.git.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -1703,26 +1703,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--list--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--list--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.list.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -2031,26 +2031,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -2328,26 +2328,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -2631,26 +2631,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--git--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--git--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.git.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -2910,26 +2910,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--list--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--list--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.list.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -3236,26 +3236,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -3533,26 +3533,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -3836,26 +3836,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--git--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--git--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.git.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -4115,26 +4115,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--list--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--list--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.list.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -4509,26 +4509,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -4956,26 +4956,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -5244,26 +5244,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--matrix--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.matrix.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -5571,26 +5571,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -5868,26 +5868,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -6171,26 +6171,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--git--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--git--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.merge.generator.git.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -6450,26 +6450,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--list--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--list--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.merge.generator.list.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -6844,26 +6844,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -7291,26 +7291,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -7579,26 +7579,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--merge--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.merge.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -7973,26 +7973,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -8420,26 +8420,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -8708,26 +8708,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--matrix--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--matrix--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.matrix.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -9037,26 +9037,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -9334,26 +9334,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -9637,26 +9637,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--git--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--git--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.git.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -9916,26 +9916,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--list--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--list--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.list.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -10242,26 +10242,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.matrix.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -10539,26 +10539,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--clusters--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.matrix.generator.clusters.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -10842,26 +10842,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--git--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--git--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.matrix.generator.git.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -11121,26 +11121,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--list--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--list--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.matrix.generator.list.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -11515,26 +11515,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--pull_request--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.matrix.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -11962,26 +11962,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--generator--scm_provider--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.matrix.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -12250,26 +12250,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--matrix--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.matrix.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -12577,26 +12577,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--cluster_decision_resource--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.merge.generator.cluster_decision_resource.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -12874,26 +12874,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--clusters--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.merge.generator.clusters.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -13177,26 +13177,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--git--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--git--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.merge.generator.git.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -13456,26 +13456,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--list--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--list--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.merge.generator.list.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -13850,26 +13850,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -14297,26 +14297,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -14585,26 +14585,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--merge--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.merge.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -14979,26 +14979,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--pull_request--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -15426,26 +15426,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--generator--scm_provider--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -15714,26 +15714,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--merge--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--merge--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.merge.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -16108,26 +16108,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--pull_request--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--pull_request--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.pull_request.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -16555,26 +16555,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--generator--scm_provider--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--generator--scm_provider--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.generator.scm_provider.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version @@ -16830,26 +16830,26 @@ Optional: Required: -- `target` (Block Set, Min: 1) (see [below for nested schema](#nestedblock--spec--template--spec--source--kustomize--patches--target)) +- `target` (Block Set, Min: 1) Targets to Patch (see [below for nested schema](#nestedblock--spec--template--spec--source--kustomize--patches--target)) Optional: -- `options` (Map of Boolean) -- `patch` (String) -- `path` (String) +- `options` (Map of Boolean) options +- `patch` (String) patch +- `path` (String) path ### Nested Schema for `spec.template.spec.source.kustomize.patches.target` Optional: -- `annotationSelector` (String) -- `group` (String) -- `kind` (String) -- `labelSelector` (String) -- `name` (String) -- `namespace` (String) -- `version` (String) +- `annotation_selector` (String) Annotation Selectors +- `group` (String) group +- `kind` (String) kind +- `label_selector` (String) Label Selectors +- `name` (String) name +- `namespace` (String) namespace +- `version` (String) version From 252d1121a1522284013c83e184e4a7d0f69ac2fe Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Tue, 26 Mar 2024 22:58:54 +0530 Subject: [PATCH 16/18] test case format updated --- argocd/resource_argocd_application_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/argocd/resource_argocd_application_test.go b/argocd/resource_argocd_application_test.go index 28391561..6cf19406 100644 --- a/argocd/resource_argocd_application_test.go +++ b/argocd/resource_argocd_application_test.go @@ -1256,10 +1256,10 @@ resource "argocd_application" "kustomize" { } patch = <<-EOT - - op: replace - path: /spec/template/spec/containers/0/name - value: the-container-1 - EOT +- op: replace + path: /spec/template/spec/containers/0/name + value: the-container-1 +EOT } } } From 47a5d1310f58b17517b461f9e956a6f7d8a56dcc Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Thu, 28 Mar 2024 23:41:57 +0530 Subject: [PATCH 17/18] structure applications updated --- argocd/structure_application.go | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/argocd/structure_application.go b/argocd/structure_application.go index f753aff7..19eea3da 100644 --- a/argocd/structure_application.go +++ b/argocd/structure_application.go @@ -253,6 +253,14 @@ func expandApplicationSourceKustomize(in []interface{}) *application.Application }, } + if group, ok := targetMap["group"]; ok { + kustomizeSelector.KustomizeResId.KustomizeGvk.Group = group.(string) + } + + if version, ok := targetMap["version"]; ok { + kustomizeSelector.KustomizeResId.KustomizeGvk.Version = version.(string) + } + if kind, ok := targetMap["kind"]; ok { kustomizeSelector.KustomizeResId.KustomizeGvk.Kind = kind.(string) } @@ -261,6 +269,18 @@ func expandApplicationSourceKustomize(in []interface{}) *application.Application kustomizeSelector.KustomizeResId.Name = name.(string) } + if namespace, ok := targetMap["namespace"]; ok { + kustomizeSelector.KustomizeResId.Namespace = namespace.(string) + } + + if label_selector, ok := targetMap["label_selector"]; ok { + kustomizeSelector.LabelSelector = label_selector.(string) + } + + if annotation_selector, ok := targetMap["annotation_selector"]; ok { + kustomizeSelector.AnnotationSelector = annotation_selector.(string) + } + kustomizePatch.Target = &kustomizeSelector } } @@ -786,13 +806,20 @@ func flattenApplicationSourceKustomize(as []*application.ApplicationSourceKustom target := make(map[string]interface{}) if p.Target != nil { target = map[string]interface{}{ - "kind": p.Target.KustomizeResId.KustomizeGvk.Kind, - "name": p.Target.KustomizeResId.Name, + "group": p.Target.KustomizeResId.KustomizeGvk.Group, + "version": p.Target.KustomizeResId.KustomizeGvk.Version, + "kind": p.Target.KustomizeResId.KustomizeGvk.Kind, + "name": p.Target.KustomizeResId.Name, + "namespace": p.Target.KustomizeResId.Namespace, + "label_selector": p.Target.LabelSelector, + "annotation_selector": p.Target.AnnotationSelector, } } patches = append(patches, map[string]interface{}{ "patch": p.Patch, + "path": p.Path, + "options": p.Options, "target": []map[string]interface{}{target}, }) } From cb9dcf0a67d5f963871cea2207bc5e7b63143179 Mon Sep 17 00:00:00 2001 From: chidambaram27 Date: Thu, 28 Mar 2024 23:50:53 +0530 Subject: [PATCH 18/18] fmt updated --- argocd/structure_application.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/argocd/structure_application.go b/argocd/structure_application.go index 19eea3da..dcf3bb72 100644 --- a/argocd/structure_application.go +++ b/argocd/structure_application.go @@ -806,21 +806,21 @@ func flattenApplicationSourceKustomize(as []*application.ApplicationSourceKustom target := make(map[string]interface{}) if p.Target != nil { target = map[string]interface{}{ - "group": p.Target.KustomizeResId.KustomizeGvk.Group, - "version": p.Target.KustomizeResId.KustomizeGvk.Version, - "kind": p.Target.KustomizeResId.KustomizeGvk.Kind, - "name": p.Target.KustomizeResId.Name, - "namespace": p.Target.KustomizeResId.Namespace, + "group": p.Target.KustomizeResId.KustomizeGvk.Group, + "version": p.Target.KustomizeResId.KustomizeGvk.Version, + "kind": p.Target.KustomizeResId.KustomizeGvk.Kind, + "name": p.Target.KustomizeResId.Name, + "namespace": p.Target.KustomizeResId.Namespace, "label_selector": p.Target.LabelSelector, "annotation_selector": p.Target.AnnotationSelector, } } patches = append(patches, map[string]interface{}{ - "patch": p.Patch, - "path": p.Path, + "patch": p.Patch, + "path": p.Path, "options": p.Options, - "target": []map[string]interface{}{target}, + "target": []map[string]interface{}{target}, }) }