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

Enable Registration #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Enable Registration #70

wants to merge 2 commits into from

Conversation

gambol99
Copy link
Contributor

  • adding the abilty for the admission controller to regsiter itself

@@ -95,6 +95,23 @@ func main() {
EnvVar: "CONTROLLER_NAME",
Value: "policy-admission.acp.homeoffice.gov.uk",
},
cli.StringFlag{
Name: "admission-service-name",
Usage: "kuberneres service name of the admission controller, used when registering `SERVICE`",
Copy link
Contributor

Choose a reason for hiding this comment

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

kuberneres => kubernetes

},
cli.StringFlag{
Name: "failure-policy",
Usage: "the failure policy when registering the controler `POLICY`",
Copy link
Contributor

Choose a reason for hiding this comment

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

controler => controller

},
cli.StringFlag{
Name: "certificate-bundle",
Usage: "file container the certificate authority bundle used when registering `PATH`",
Copy link
Contributor

Choose a reason for hiding this comment

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

file container the certificate authority bundle => file containing the certificate authority bundle

cli.BoolFlag{
Name: "enable-registration",
Usage: "indicates you want the admission controller to self-register `BOOL`",
EnvVar: "ENABLE_EVENTS",
Copy link
Contributor

Choose a reason for hiding this comment

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

You need to change the EnvVar here

- adding the abilty for the admission controller to regsiter itself
Copy link
Contributor

@KashifSaadat KashifSaadat left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants