When adding a new node pool type, the toleration injector should be extended to include tolerations for the new node pool. Once the taints have been defined for the nodes, they can be injected as tolerations to the appropriate pods. To allow specific namespaces to tolerate to special node pools, a config map was created to map the node types to allowed namespaces.
- Modify mutate.go to include the appropriate case (this should be refactored to a switch block)
- Create a PR to main
- Once merged, get docker image sha from github actions
- Modify the reference in aaw-argocd-manifests then PR changes into the appropriate environment branch
For testing, once the image is built at step 3, the following steps can be taken instead:
- Modify the reference in a local branch of aaw-argocd-manifest
- Disable auto-sync in argocd for the "statcan-system" app (notify your fellow devs 😃)
- Deploy the manifest to aaw-dev using
kubectl apply -f
- To revert, simply reference the previous image and reapply or enable auto-sync in argo
See CONTRIBUTING.md
Unless otherwise noted, the source code of this project is covered under Crown Copyright, Government of Canada, and is distributed under the MIT License.
The Canada wordmark and related graphics associated with this distribution are protected under trademark law and copyright law. No permission is granted to use them outside the parameters of the Government of Canada's corporate identity program. For more information, see Federal identity requirements.
Voir CONTRIBUTING.md
Sauf indication contraire, le code source de ce projet est protégé par le droit d'auteur de la Couronne du gouvernement du Canada et distribué sous la licence MIT.
Le mot-symbole « Canada » et les éléments graphiques connexes liés à cette distribution sont protégés en vertu des lois portant sur les marques de commerce et le droit d'auteur. Aucune autorisation n'est accordée pour leur utilisation à l'extérieur des paramètres du programme de coordination de l'image de marque du gouvernement du Canada. Pour obtenir davantage de renseignements à ce sujet, veuillez consulter les Exigences pour l'image de marque.