Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8s provider conformance test plugin #43

Merged
merged 5 commits into from
Jun 27, 2024

Conversation

linglingye001
Copy link
Contributor

No description provided.

}

# Ensure that we tell the Sonobuoy worker we are done regardless of results.
trap saveResult EXIT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why we have this command between definition of functions

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The trap command ensures that the saveResult() function is called when the script exits.

python3 /arc/setup_failure_handler.py
fi

if [ -z "${ARC_CLUSTER_NAME}" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CLUSTER_NAME

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may not a arc cluster if cluster type is "managedCluster"

--extension-type Microsoft.AppConfiguration \
--cluster-name "${ARC_CLUSTER_NAME}" \
--resource-group "${ARC_CLUSTER_RG}" \
--cluster-type managedClusters \
Copy link
Contributor

@RichardChen820 RichardChen820 May 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python3 /arc/setup_failure_handler.py
fi

if [ -z "${ARC_CLUSTER_RG}" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, CLUSTER_RG

@linglingye001 linglingye001 force-pushed the user/linglingye/testPlugin branch from 64cb9a9 to ecb7065 Compare June 18, 2024 05:58
@linglingye001 linglingye001 changed the base branch from main to release/v2/preview June 18, 2024 05:59
@linglingye001 linglingye001 force-pushed the user/linglingye/testPlugin branch from ea060c6 to 649aa98 Compare June 27, 2024 07:49
@linglingye001 linglingye001 merged commit 0921cf4 into release/v2/preview Jun 27, 2024
1 check passed
@linglingye001 linglingye001 deleted the user/linglingye/testPlugin branch June 27, 2024 07:51
linglingye001 added a commit that referenced this pull request Sep 11, 2024
* Not running on windows node (#30)

* Bump up version to 2.0.0-preview (#42)

* Workload identity support namespaced service account (#39)

* Workload identity support namespaced service account

* feedback

* Feedback

* Upgrade package (#44)

* fix vulnerability

* fix go version

* update

* update

* update

* update

* update

* update controller runtime

* upgrade azsecrets package

* update ci

* update patched version

* update

* revert version

* upgrade packages

* update ci

* revert

* deduplicate feature flags (#50)

* Treat get settings from one client failure as warning (#48)

* Add node affinity and toleration configuration (#46)

* K8s provider conformance test plugin (#43)

* k8s provider conformance test plugin

* rename

* remove docker hub dependency

* replace curl with wget

* add version file

* Setup golangci lint action (#51)

* setup golangci lint action

* fix linting error

* update ci

* update

* add lint in makefile

* Add Correlation Context header for extension (#47)

* Add Correlation Context header for extension

* Add more context

* Add Host and RequestType in correlation context

* Remove the kv refresh

* update extension test plugin conformance file (#52)

* added timeout parameter in golintCI (#54)

* Revise the error message for selector object verification (#56)

* Bump up version to 2.0.0 (#58)

* Add data collection section in readme (#57)

* Require to opt-in for the global service account (#60)

* Require to opt in the global service account

* Rename

* Fix vulnerability (#68)

* fix vulnerability

* specify go version in golang lint ci

---------

Co-authored-by: Richard chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants