Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

feat: make webhook address configurable #450

Merged
merged 2 commits into from
Jan 10, 2022

Conversation

chetan-rns
Copy link
Member

@chetan-rns chetan-rns commented Jan 6, 2022

Currently, the webhook address is hardcoded to ":7000". This PR introduces the below changes:

  1. --webhook-addr flag to make the webhook address configurable.

Example:

./dist/argocd-applicationset --webhook-addr=":9999" --logformat=json
  1. Remove the hard exit that stops ApplicationSet whenever it fails to create a webhook handler.

ref: https://github.com/argoproj-labs/applicationset/pull/341/files#r779156282

@mkilchhofer
Copy link
Member

Addresses my comment in #445 (comment)

Copy link
Collaborator

@wtam2018 wtam2018 left a comment

Choose a reason for hiding this comment

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

LGTM
thanks @chetan-rns

@wtam2018 wtam2018 merged commit 7b8642a into argoproj:master Jan 10, 2022
ishitasequeira pushed a commit to ishitasequeira/applicationset that referenced this pull request Jan 11, 2022
* feat: make webhook address configurable

* do not hard exit when failed to create a webhook handler
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants