cnoe-io / idpbuilder

Spin up a complete internal developer platform with only Docker required as a dependency.
https://cloud-native.slack.com/archives/C05TN9WFN5S
Apache License 2.0
194 stars 59 forks source link

[Bug]: Validate and ensure the container port we need is available and correct. #358

Closed nabuskey closed 2 months ago

nabuskey commented 3 months ago

What is your environment, configuration, and command?

If you run idpbuilder without the necessary container port defined, it will never finish reconciling because we can't talk to the gitea service. We need to ensure:

Kind config to reproduce the issue:

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
  - role: control-plane
    extraMounts:
      - containerPath: /var/lib/kubelet/config.json
        hostPath: ~/.docker/config.json
    extraPortMappings:
      - containerPort: 31337
        hostPort: 31337
      - containerPort: 31340
        hostPort: 31340
      - containerPort: 31333
        hostPort: 31333

What did you do and What did you see instead?

idpbuilder never finishes reconciling.

Additional Information. Logs.

No response