hydra-maester icon indicating copy to clipboard operation
hydra-maester copied to clipboard

Invalid value for flag `hydra-port`

Open susanto-tm opened this issue 9 months ago • 0 comments

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 avatar May 02 '24 08:05 susanto-tm