Rendre l'URL et la révision du dépôt socle configurables via le CRD#962
Merged
Falltrades merged 1 commit intocloud-pi-native:developfrom Jan 27, 2026
Merged
Conversation
Falltrades
reviewed
Jan 19, 2026
Contributor
Falltrades
left a comment
There was a problem hiding this comment.
Globalement ok, même si c’était possible de surcharger les values des jobs depuis la dsc (ex: https://github.com/cloud-pi-native/socle/blob/v4.4.2/roles/socle-config/templates/crd-conf-dso.yaml#L428).
| - restore | ||
| exposed: | ||
| description: Whether or not the cnpg cluster shoul be exposed via NodePort. | ||
| description: Whether or not the cnpg cluster should be exposed via NodePort. |
Contributor
There was a problem hiding this comment.
thought: seems like we forgot to remove support of this option for this service.
Contributor
Author
There was a problem hiding this comment.
Indeed, it seems none of these dsc.awx.cnpg options were ever even used since they were added here: 5451db5
Configuration for the socle Git repository used by Ansible jobs for post-installation tasks. Especially useful in air-gapped environments and during development.
fd77c3f to
10ee564
Compare
iliesmrf
approved these changes
Jan 26, 2026
Falltrades
approved these changes
Jan 26, 2026
Falltrades
added a commit
that referenced
this pull request
Jan 28, 2026
Falltrades
added a commit
that referenced
this pull request
Jan 28, 2026
omiladi
pushed a commit
that referenced
this pull request
Jan 28, 2026
Falltrades
added a commit
that referenced
this pull request
Jan 29, 2026
omiladi
pushed a commit
that referenced
this pull request
Feb 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Quel est le comportement actuel ?
Actuellement, l’URL et la révision du dépôt Git "socle" utilisé par les jobs Ansible pour les tâches de post-installation sont codées en dur. Le dépôt est cloné avec une URL fixe (
https://github.com/cloud-pi-native/socle.git) sans possibilité de spécifier une révision (branche, tag ou commit) autre que la branche par défaut.Quel est le nouveau comportement ?
Avec ce changement, l’URL et la révision du dépôt "socle" deviennent configurables via le CRD. Deux nouveaux champs ont été ajoutés :
repoSocle.url: Permet de spécifier une URL personnalisée pour le dépôt Git contenant les playbooks Ansible.repoSocle.revision: Permet de spécifier une branche, un tag ou un commit spécifique à cloner.Exemple d’utilisation dans le CRD :
Cette PR introduit-elle un breaking change ?
Non, pas de modification du comportement par défaut.
Autres informations
Ce changement est particulièrement utile pour :
Je l'ai testé et, même si le
\se met sur la ligne suivante, cela ne pose pas de problème lors de execution du job :