-
Notifications
You must be signed in to change notification settings - Fork 45
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
Manage podAntiAffinity
for dex
#3614
Manage podAntiAffinity
for dex
#3614
Conversation
In some helm chart, some value are rendered as YAML but we want to use a salt function in jinja to "compute" this yaml part, since it's rendered as YAML the resulting SLS will the salt execution module quoted, which result in an invalid YAML
Hello teddyandrieux,My role is to assist you with the merge of this Status report is not available. |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
cc15346
to
d2b786a
Compare
History mismatchMerge commit #cc1534689eebac1b44ef88c2b2e4055ab398da2d on the integration branch It is likely due to a rebase of the branch Please use the |
/reset |
Reset completeI have successfully deleted this pull request's integration branches. |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
Since we want to expose a really simple way to setup Pod affinity we do not use the exact same syntax as what need to provided in the Kubernetes objects, in order to convert from "simple syntax" to "kubernetes syntax" we add this execution module See: #3574
Instead of computing the PodAntiAffinity from pillar directly in the SLS as jinja use the dedicated function `get_pod_affinity` for it. In order to allow support in the future for other type of `affinity` add an extra `affinity` layer in the config
This commit add ability to configure `podAntiAffinity` for Dex from CSC. Patche the Dex helm chart to add support for `strategy` on Dex deployment, as the default one does not make sense for our Dex deployment See dexidp/helm-charts#66 Render chart to salt state using ``` ./charts/render.py dex charts/dex.yaml charts/dex \ --namespace metalk8s-auth \ --service-config dex metalk8s-dex-config \ metalk8s/addons/dex/config/dex.yaml.j2 metalk8s-auth \ > salt/metalk8s/addons/dex/deployed/chart.sls ``` See: #3574
d2b786a
to
5edb900
Compare
History mismatchMerge commit #050eddd62f4688779db2016dc190481e323dca7d on the integration branch It is likely due to a rebase of the branch Please use the |
/reset |
Reset completeI have successfully deleted this pull request's integration branches. |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye teddyandrieux. |
Component:
'authentication'
Context:
See: #3574
Summary:
Add an entry in CSC configuration for Dex in order to set up
affinity
NOTE: In this PR we only handle soft and hard