-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 manifests for namespace install #1077
Fix manifests for namespace install #1077
Conversation
I updated |
I also added the namespace manifest just in case. |
I think I may misunderstand the purpose of each aggregated manifest. Could someone tell me when we use which? |
@dtaniwaki theres a description of the purpose of the two manifests here: Copied here: |
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: argo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't include namespaces as part of install, since namespaces are not often included in installation manifests. Also, oftentimes namespaces are created for other teams, and user's are not allowed a "vanity" namespace.
For example, internally here, we could not use this set of manifests as a kustomize base, since our namespaces are created using a separate namespace provisioning system, using a special convention for the name.
- watch | ||
- list | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should split the existing argo-role to two roles: argo-cm-role and argo-role. It makes the object management more confusing.
I'm closing this PR as the changes are not necessary. |
I wasn't able to use Argo by just installing from the current
manifests/namespace-install.yaml
because theworkflow-controller
andargo-ui
are installed indefault
namespace while workflows are expected to run inargo
namespace, which the used service account doesn't have access to. I fixed theRole
,RoleBinding
and the option ofargo-ui
so it works by just installing the manifests. Please check if this is what you intended.I didn't update the aggregated manifests which are supposed to be generated by Kustomize because
./hack/update-manifests.sh
shows the following error.It seems
namespace
inmanifests/cluster-install/kustomization.yaml
is not recognized as a valid field. Could you tell me how to update the aggregated manifests, or please do it on your side.