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

Local testing environment #108

Merged
merged 6 commits into from
Jan 8, 2024
Merged

Local testing environment #108

merged 6 commits into from
Jan 8, 2024

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented Dec 15, 2023

This PR adds some Kubernetes manifests and a script to deploy a basic test installation of the rollout-operator in a local Kubernetes cluster. It also deploys an instance of Jaeger for testing #101.

More details in the readme.

@charleskorn charleskorn marked this pull request as ready for review December 15, 2023 02:47
@charleskorn charleskorn requested a review from a team as a code owner December 15, 2023 02:47
@charleskorn charleskorn changed the title Local testing environment Local testing environment Dec 15, 2023
Copy link

@flxbk flxbk left a comment

Choose a reason for hiding this comment

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

Tested locally, works for me. Thanks, very useful!

@charleskorn charleskorn merged commit fd56e1b into main Jan 8, 2024
6 checks passed
@charleskorn charleskorn deleted the charleskorn/local-dev-env branch January 8, 2024 04:14
namespace: rollout-operator-development
rules:
- apiGroups:
-

Choose a reason for hiding this comment

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

why is this empty?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

An empty value means the "core" group (see https://kubernetes.io/docs/reference/access-authn-authz/rbac/#role-example for an example)

Choose a reason for hiding this comment

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

error: error validating "/Users/christopher.li/rollout-operator/development/rollout-operator-role.yaml": error validating data: ValidationError(Role.rules[0].apiGroups): unknown object type "nil" in Role.rules[0].apiGroups[0]; if you choose to ignore these errors, turn validation off with --validate=false when I try to run ./apply.sh

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What version of Kubernetes and kubectl are you using?

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.

None yet

3 participants