* feat: argocd app delete apps by label
Signed-off-by: Daniel Helfand <[email protected]>
* fix: add path to e2e test
Signed-off-by: Daniel Helfand <[email protected]>
* fix: use guestbook path in e2e test
Signed-off-by: Daniel Helfand <[email protected]>
* fix: change operation status assertions in e2e test
Signed-off-by: Daniel Helfand <[email protected]>
* fix: change sync status to synced
Signed-off-by: Daniel Helfand <[email protected]>
* fix: assert on cli output for err in e2e test
Signed-off-by: Daniel Helfand <[email protected]>
* fix: assert on err not output in e2e test
Signed-off-by: Daniel Helfand <[email protected]>
* fix: ignore error to allow assertion to take place in test
Signed-off-by: Daniel Helfand <[email protected]>
* fix: assert on Contains instead of Equal
Signed-off-by: Daniel Helfand <[email protected]>
* fix: swtich args to assert.Contains
Signed-off-by: Daniel Helfand <[email protected]>
* fix: selector and args should not be used together
Signed-off-by: Daniel Helfand <[email protected]>
* fix: add app to delete example
Signed-off-by: Daniel Helfand <[email protected]>
* fix: return err instead of nil
Signed-off-by: Daniel Helfand <[email protected]>
Signed-off-by: Daniel Helfand <[email protected]>
* tests: add unit test version command
Signed-off-by: emirot <[email protected]>
* tests: add unit test version command
Signed-off-by: emirot <[email protected]>
* tests: add unit test version command
Signed-off-by: emirot <[email protected]>
* tests: add unit test version command
Signed-off-by: emirot <[email protected]>
* tests: add unit test version command
Signed-off-by: emirot <[email protected]>
* tests: client version
Signed-off-by: emirot <[email protected]>
Signed-off-by: emirot <[email protected]>
* add notifications API
we allow to list triggers, templates and services
Signed-off-by: Pavel <[email protected]>
* fix: add notification manifest to tests
Signed-off-by: Pavel <[email protected]>
* fix: add sleep to fix integration tests
for some reason notification configmap has old data, trying to fix with
the sleep
Signed-off-by: Pavel <[email protected]>
* add proposal
Signed-off-by: Pavel <[email protected]>
* more info to proposal
Signed-off-by: Pavel <[email protected]>
* use struct for notifications objects instead of just strings
to be able easily extend API in the future return list of
trigger/template/service as list of structs
Signed-off-by: Pavel <[email protected]>
Signed-off-by: Pavel <[email protected]>
* Expand `ListResourceActions` to support the root App
Prior to this change, `ListResourceActions` could only be performed on
resources managed by the Application; this implicitly did not include
the Application itself, unless it was a self-referential Application.
This prevents the listing of actions on the Application itself.
This change detects when the requested resource is an Application with
the same name as the managing Application, thus bypassing the fetching
of the requested resource listing and simply retrieving the
Application. It then retrieves the resource details from the
Application itself, instead of any sub-resource.
Signed-off-by: David Monks <[email protected]>
* Expand `RunResourceAction` to support the root App
Prior to this change, similar to the `ListResourceActions` function
updated in the previous commit, the `RunResourceAction` function only
supports running actions on resources managed by the Application, rather
than the Application itself.
This change re-uses in the `RunResourceAction` function the new
behaviour introduced in the previous commit to make the Application a
valid target for resource actions.
Signed-off-by: David Monks <[email protected]>
* Extract App actions resource gathering to a private function
This abstracts the fetching of resources that can provide custom resource actions for a given Application via the CLI to a new private function next to the two Commands that do it.
This is a precursor to expanding this set of resources to include the Application itself.
Signed-off-by: David Monks <[email protected]>
* Include the Application in the `actions list` CLI command
Prior to this change, only resources managed by the Application (and not
the Application itself) were able to have actions associated with them
for running via the CLI.
This change includes the Application itself in the list of resources to
check for custom resource actions when listing or running them via the
CLI.
Signed-off-by: David Monks <[email protected]>
Signed-off-by: David Monks <[email protected]>
* chore: infer managed resources health from redis instead of storing it in CRD
Signed-off-by: Alexander Matyushentsev <[email protected]>
* apply reviewer notes
Signed-off-by: Alexander Matyushentsev <[email protected]>
Signed-off-by: Alexander Matyushentsev <[email protected]>
* feat: support gzip compression for data stored in redis
Signed-off-by: Alexander Matyushentsev <[email protected]>
* allow using different redis compression algorithms
Signed-off-by: Alexander Matyushentsev <[email protected]>
Signed-off-by: Alexander Matyushentsev <[email protected]>
* chore: argocd app create output states whether app exists
Signed-off-by: Daniel Helfand <[email protected]>
* chore: determine if app has changed without server err
Signed-off-by: Daniel Helfand <[email protected]>
* chore: unchanged if app has not changed
Signed-off-by: Daniel Helfand <[email protected]>
* chore: add logic to tell user if app was updated
Signed-off-by: Daniel Helfand <[email protected]>
* chore: edit comments
Signed-off-by: Daniel Helfand <[email protected]>
* chore: check if get err is notfound
Signed-off-by: Daniel Helfand <[email protected]>
* feat: add HTTPS support to dex server (#9424)
Signed-off-by: notfromstatefarm <[email protected]>
* refactor transports, add v2.5 to docs, other small nits
Signed-off-by: notfromstatefarm <[email protected]>
* use OIDCTLSConfig in session manager
Signed-off-by: notfromstatefarm <[email protected]>
* update tls to use os instead of ioutil (but really this is just me trying to get CICD to work)
Signed-off-by: notfromstatefarm <[email protected]>
* cleanup and nits
Signed-off-by: notfromstatefarm <[email protected]>
* fix tests after merge
Signed-off-by: notfromstatefarm <[email protected]>
* fix tests
Signed-off-by: notfromstatefarm <[email protected]>
* nit
Signed-off-by: notfromstatefarm <[email protected]>
* feat: implement consistent startup messages for all components
Signed-off-by: Kent <[email protected]>
* DRY up previous commit
Signed-off-by: Kent <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
defer instead of multiple close calls
Signed-off-by: Michael Crenshaw <[email protected]>
oops
Signed-off-by: Michael Crenshaw <[email protected]>
don't count jsonnet against max
Signed-off-by: Michael Crenshaw <[email protected]>
fix codegen
Signed-off-by: Michael Crenshaw <[email protected]>
add caveat about 300x ratio
Signed-off-by: Michael Crenshaw <[email protected]>
fix versions
Signed-off-by: Michael Crenshaw <[email protected]>
fix tests/lint
Signed-off-by: Michael Crenshaw <[email protected]>
* fix: create serviceaccount token for v1.24 clusters
Signed-off-by: Daniel Helfand <[email protected]>
* change create to get in err
Signed-off-by: Daniel Helfand <[email protected]>