-
Notifications
You must be signed in to change notification settings - Fork 28
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
[BUG] add cd .. between kpt fn render and kpt live commands during resource inventory update - or take out the landing-zone folder reference - landing-zone solution #111
Labels
bug
Something isn't working
Comments
2nd run to verify After bringing up a new cluster on obrienlabs.dev in #94 (comment) for #104 https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/tree/main/solutions/landing-zone
|
fmichaelobrien
added a commit
that referenced
this issue
Sep 13, 2022
see #111 (comment) before ``` michael@cloudshell:~/github/GoogleCloudPlatform/20220909-103/landing-zone (lz-20220910-oldev)$ cd landing-zone/ -bash: cd: landing-zone/: No such file or directory ``` after ``` michael@cloudshell:~/github/GoogleCloudPlatform/20220909-103 (lz-20220910-oldev)$ cd landing-zone/ michael@cloudshell:~/github/GoogleCloudPlatform/20220909-103/landing-zone (lz-20220910-oldev)$ kpt fn render Package "landing-zone/environments/common/guardrails-policies": Successfully executed 9 function(s) in 5 package(s). michael@cloudshell:~/github/GoogleCloudPlatform/20220909-103/landing-zone (lz-20220910-oldev)$ cd .. michael@cloudshell:~/github/GoogleCloudPlatform/20220909-103 (lz-20220910-oldev)$ kpt live init landing-zone --namespace config-control initializing Kptfile inventory info (namespace: config-control)...failed michael@cloudshell:~/github/GoogleCloudPlatform/20220909-103 (lz-20220910-oldev)$ kpt live apply landing-zone --reconcile-timeout=2m installing inventory ResourceGroup CRD. ```
right, better - explicit dir
|
fmichaelobrien
added a commit
that referenced
this issue
Sep 13, 2022
right, better - explicit dir ``` michael@cloudshell:~/github/GoogleCloudPlatform/20220909-103 (lz-20220910-oldev)$ kpt fn render landing-zone Package "landing-zone/environments/common/guardrails-policies": ```
cartyc
added a commit
that referenced
this issue
Sep 13, 2022
…-111-3 #111 - fix kpt steps for in/out lz dir
fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
running the landing-zone kpt (non-gitops section) directly will fail on the kpt resource inventory update (step 2 of 3)
The 3 commands in the landing-zone solution section 5 are not run in the same directory - you must .. up a dir when running the 2 kpt live commands or take out the landing-zone folder reference from the kpt resource inventory update and kpt apply of the package to the cluster
Additional context
or see the alternate landing zone code at
where we leave out the folder name
The text was updated successfully, but these errors were encountered: