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

Invalid value for flag hydra-port #144

Open
3 of 5 tasks
susanto-tm opened this issue May 2, 2024 · 0 comments
Open
3 of 5 tasks

Invalid value for flag hydra-port #144

susanto-tm opened this issue May 2, 2024 · 0 comments
Labels
bug Something is not working.

Comments

@susanto-tm
Copy link

Preflight checklist

Ory Network Project

No response

Describe the bug

I ran the installation guide to setup Ory Hydra v0.41.0 on a kubernetes cluster using the provided helm charts. The installation for both hydra-public and hydra-admin are successful along with a connection to a provided DSN. However, I am unable to solve the issues regarding the deployment of hydra-maester. The error is presented as:

invalid value "" for flag -hydra-port: parse error

I have followed the instructions from the documentation and set the following config variables:
hydra.config.dsn, hydra.config.urls.self.issuer, hydra.config.urls.login, and hydra.config.urls.consent.

Reproducing the bug

  1. Follow installation through Ory Hydra helm chart documentation
  2. Observe pods being deployed and find for the pod name
  3. Run kubectl logs -n <namespace> <pod-name>
  4. The error should be found within the first line of the logs

Relevant log output

invalid value "" for flag -hydra-port: parse error
Usage of /manager:
  -enable-leader-election
    	Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.
  -endpoint string
    	ORY Hydra's client endpoint (default "/clients")
  -forwarded-proto string
    	If set, this adds the value as the X-Forwarded-Proto header in requests to the ORY Hydra admin server
  -hydra-port int
    	Port ORY Hydra is listening on (default 4445)
  -hydra-url string
    	The address of ORY Hydra
  -insecure-skip-verify
    	If set, http client will be configured to skip insecure verification to connect with hydra admin
  -kubeconfig string
    	Paths to a kubeconfig. Only required if out-of-cluster.
  -leader-elector-namespace string
    	Leader elector namespace where controller should be set.
  -metrics-addr string
    	The address the metric endpoint binds to. (default ":8080")
  -namespace string
    	Namespace in which the controller should operate. Setting this will make the controller ignore other namespaces.
  -sync-period string
    	Determines the minimum frequency at which watched resources are reconciled (default "10h")
  -tls-trust-store string
    	trust store certificate path. If set ca will be set in http client to connect with hydra admin

Relevant configuration

No response

Version

0.0.33

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Kubernetes with Helm

Additional Context

No response

@susanto-tm susanto-tm added the bug Something is not working. label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

1 participant