Skip to content

Conversation

@mathieulaude
Copy link
Collaborator

@mathieulaude mathieulaude commented Jan 9, 2026

Issues liées

Issues numéro: #1829


Quel est le comportement actuel ?

Quel est le nouveau comportement ?

Cette PR introduit-elle un breaking change ?

Autres informations

@mathieulaude mathieulaude linked an issue Jan 9, 2026 that may be closed by this pull request
4 tasks
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

🤖 Hey !

The @cpn-console/vault-plugin (v2.3.0) package already exists on npm but the source code has changed, you should consider updating the package version.

The version update warning should be ignored in the case of modifications that do not affect the code once it has been built, such as code formatting, etc...

@github-actions github-actions bot added the built label Jan 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

🤖 Hey !

The security scan report for the current pull request is available here.

@mathieulaude mathieulaude changed the title refactor: 🔥 remove AppRole enabled check to simplify the code refactor vault Plugin to remove AppRole enabled check and clarify separated classes Jan 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

🤖 Hey !

The @cpn-console/harbor-plugin (v2.2.3) package already exists on npm but the source code has changed, you should consider updating the package version.

The version update warning should be ignored in the case of modifications that do not affect the code once it has been built, such as code formatting, etc...

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

🤖 Hey !

The @cpn-console/gitlab-plugin (v3.3.1) package already exists on npm but the source code has changed, you should consider updating the package version.

The version update warning should be ignored in the case of modifications that do not affect the code once it has been built, such as code formatting, etc...

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

🤖 Hey !

The @cpn-console/sonarqube-plugin (v2.0.5) package already exists on npm but the source code has changed, you should consider updating the package version.

The version update warning should be ignored in the case of modifications that do not affect the code once it has been built, such as code formatting, etc...

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

🤖 Hey !

The @cpn-console/argocd-plugin (v2.3.0) package already exists on npm but the source code has changed, you should consider updating the package version.

The version update warning should be ignored in the case of modifications that do not affect the code once it has been built, such as code formatting, etc...

@cloud-pi-native-sonarqube
Copy link

@StephaneTrebel StephaneTrebel self-requested a review January 12, 2026 07:13
Copy link
Collaborator

@StephaneTrebel StephaneTrebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

import monitor from './monitor.js'
import { VaultProjectApi, VaultZoneApi } from './class.js'
import { VaultProjectApi } from './vault-project-api.js'
import { VaultZoneApi } from './vault-zone-api.js'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: C'est beau !

private readonly roleName: string
private readonly projectRootDir: string
private readonly defaultAppRoleCredentials: AppRoleCredentials
private readonly coreKvName: string = 'forge-dso'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thought: Rien à voir avec cette MR, mais cette valeur en dur me dérange à plus d'un titre

this.defaultAppRoleCredentials = {
url: getConfig().deployVaultConnectionInNs ? getConfig().publicUrl : '',
coreKvName: this.coreKvName,
roleId: 'none',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Je sais que c'était comme ça auparavant, mais est-ce que ce n'est pas un problème ? 'none' ce n'est pas un roleId, en soi. undefined (et un typage adapté) eut probablement été plus clair, non ?

@StephaneTrebel StephaneTrebel added the preview Deploy preview app with Argo-cd label Jan 12, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 12, 2026

🤖 Hey !

A preview of the application is available at : https://console-pr-1835.dso.cpin-hp.numerique-interieur.fr

Please be patient, deployment may take a few minutes.

@StephaneTrebel StephaneTrebel added preview Deploy preview app with Argo-cd and removed preview Deploy preview app with Argo-cd labels Jan 13, 2026
@StephaneTrebel
Copy link
Collaborator

StephaneTrebel commented Jan 13, 2026

🤖 Hey !

A preview of the application is available at : https://console-pr-1835.dso.cpin-hp.numerique-interieur.fr

Please be patient, deployment may take a few minutes.

C'est ok ! 🚀
image

@StephaneTrebel StephaneTrebel merged commit 26f4aec into main Jan 13, 2026
41 checks passed
@StephaneTrebel StephaneTrebel deleted the 1833-request---supprimer-isapproleenabled branch January 13, 2026 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

built preview Deploy preview app with Argo-cd

Projects

None yet

Development

Successfully merging this pull request may close these issues.

💡 [REQUEST] - Supprimer les vérifications de isAppRoleEnabled

3 participants