-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Support multi-domain, ECC certificates, cluster mode #9
base: master
Are you sure you want to change the base?
Conversation
Testing the previous version right now. Was going to open an issue to have full cluster support, but this is already implemented here. Any ideas on the timeframe to a release? |
It should be done in the following days. |
|
||
if [ "${STATUS_CODE}" = "200" ]; then | ||
# try get namespaces (cluster mode) | ||
status_code=$(k8s_api_call "GET" /api/v1/namespaces 2>"${RES_FILE}") |
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.
Deployment cluster scoped will failed. Please update your code to manage this case.
Use local
keyword for variables when needed.
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.
Deployment cluster scoped will failed. Please update your code to manage this case.
What error did you see?
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.
Use
local
keyword for variables when needed.
I don't think sh
supports local
.
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.
What error did you see?
Cluster scoped deployment will failed due to a call requesting all namespaces without having a clusterrole. Just try it.
I don't think sh supports local.
ash is the system shell used on busybox and local keyword are supported.
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.
Cluster scoped deployment will failed due to a call requesting all namespaces without having a clusterrole. Just try it.
If you set cluster to true
you will have a ClusterRole. If you set cluster to false
(which is default), the request will fail. This is expected and will not cause problems. I've tested on my cluster. Maybe you need a fresh install? See certs/templates/rolebinding.yaml
.
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.
ash is the system shell used on busybox and local keyword are supported.
I'll look into this.
Support for multi namespaces has been added in a previous version where it supports role and clusterrole. |
I implemented the following feature and this branch is working well on my cluster, serving more than 10 ingresses across namespaces: