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

fix: Various improvement and fixes found in 1st test deployment #8

Merged
merged 7 commits into from
Feb 22, 2024

Conversation

skrobul
Copy link
Collaborator

@skrobul skrobul commented Feb 21, 2024

This PR addresses some of the issues I have found when trying to deploy this on clean cluster.

@skrobul skrobul changed the title Various improvement and fixes found in 1st test deployment fix: Various improvement and fixes found in 1st test deployment Feb 21, 2024
@skrobul skrobul force-pushed the test-run branch 2 times, most recently from beb9b45 to 1e04196 Compare February 21, 2024 11:28
@skrobul
Copy link
Collaborator Author

skrobul commented Feb 21, 2024

One more thing I was not sure about - the bootstrap installs the ingress-nginx ingress controller, but the 09-nautobot/ingress.yaml includes good old traefik's IngressRoute. Is this intended? If it is, it has the hardcoded Host frontend rule which probably needs changing.

This optional environment provides all the necessary tools
with just a single command.
otherwise helm misbehaves
…space

With the bootstrap/cert-manager/kustomization.yaml we have overriden the
namespace of all the resources to be `kube-system`, but the cert-manager
still has the annotation `cert-manager.io/inject-ca-from-secret` that
refers to the default `cert-manager` namespace. As a result, it is not
possible for the cainjector to inject the secret.
This patch updates the annotation to use `kube-system` instead.
Prior to this commit, the find command did not work because the '-depth'
parameter:

- cannot be placed before the name
- is a boolean flag that does not accept arguments.

I believe the intention was to use `-maxdepth 1` here.
@cardoe cardoe merged commit 326c62d into rackerlabs:main Feb 22, 2024
3 checks passed
@cardoe
Copy link
Contributor

cardoe commented Feb 22, 2024

One more thing I was not sure about - the bootstrap installs the ingress-nginx ingress controller, but the 09-nautobot/ingress.yaml includes good old traefik's IngressRoute. Is this intended? If it is, it has the hardcoded Host frontend rule which probably needs changing.

Nope. That file isn't even included in kustomize so we need to just delete it. The ingress actually comes from within the base directory.

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

Successfully merging this pull request may close these issues.

2 participants