Add kustomize to new base cluster with minimal permissions #4214
Conversation
| kind: Kustomization | ||
| namespace: new-sourcegraph | ||
| resources: | ||
| - https://github.com/sourcegraph/deploy-sourcegraph/new/resources/sourcegraph?ref=bee/kustomize-new-base |
There was a problem hiding this comment.
should these reference file paths rather than URLs, for version consistency?
There was a problem hiding this comment.
@beyang Good question, sorry for not clarifying in the PR. I'm currently using the URL with ref=bee/kustomize-new-base as an example to demonstrate remote build, since the kustomiziation.yaml in the base layer of any of the ref=version_number does not exist yet.
Once the kustomiziation.yaml files for the base folder (example here) are merged to main and added to the next release, we can then point it to the new version using the ref tag for each release when using remote build.
File paths should be used for local builds though, I will add these to the docs, or do you think we should just use file paths by default?
RE: https://sourcegraph.slack.com/archives/C02E4HE42BX/p1670969373552729?thread_ts=1670956128.048659&cid=C02E4HE42BX
This PR adds kustomize to the new base cluster with minimal permissions.
A new kustomize directory with overlay and components samples is also added to the
new/kustomizedirectory.Checklist
Test plan
There are two ways to try the changes made in this PR:
Local build
new/kustomize/README.mdRemote build
$HOME/newKustomizeBasedirectory.