Re: New plugin - Support for Azure credentials via the Kubernetes Credentials Provider

2024-01-18 Thread 'Tue Dissing' via Jenkins Developers
Perfect. Thanks. Request submitted: 
https://github.com/jenkins-infra/repository-permissions-updater/issues/3746

lørdag den 13. januar 2024 kl. 12.52.31 UTC+1 skrev jone...@gmail.com:

> Hi,
>
> You can follow 
> https://www.jenkins.io/doc/developer/publishing/requesting-hosting/ in 
> order to host your plugin
>
> Best way is to start with 
>
> mvn archetype:generate -B -DarchetypeGroupId=io.jenkins.archetypes 
> -DarchetypeArtifactId=empty-plugin -DhostOnJenkinsGitHub=true 
> -DarchetypeVersion=1.23 -DartifactId=
>
> And then implement the extension and tests. It will ensure you have all 
> the require files matching the archetype.
>
> If you follow correctly all steps, the plugin can be hosted and released 
> in matter of days on the plugin center.
>
> Regards,
>
> On Friday, January 12, 2024 at 4:52:40 PM UTC+1 tue.d...@ufst.dk wrote:
>
>> Hi Jenkins Dev,
>>
>>  
>>
>> We need to use Azure to provision build agents and therefore need to 
>> store the azure creds (service principal or a managed identity) as a 
>> jenkins credential. As we are deploying on Kubernetes we rely on the 
>> Kuberneters 
>> Credentials Provider plugin 
>>  
>> for all our credentials.
>>
>> This plugin does not currently support the azure credentials types.
>>
>>  
>>
>> I have created this PR 
>> 
>>  
>> in order to support both the service principal and the managed identity, 
>> but as indicated here 
>> ,
>>  
>> this is best supported by a separate plugin.
>>
>>  
>>
>> Can’t find any existing support for this. I therefore believe the best 
>> way forward are to implement a new plugin to handle this – just as is the 
>> case with for example 
>> https://plugins.jenkins.io/bitbucket-kubernetes-credentials/. Please let 
>> me know if there’s another way that is preferred.
>>
>>  
>>
>> Suggested name: azure-kubernetes-credentials-plugin.
>>
>>  
>>
>>  
>>
>> Venlig hilsen
>>
>>  
>>
>> *Tue Sørensen Dissing*
>>
>> Chefkonsulent
>>
>> DevOps
>>
>>  
>>
>> +45 72 37 77 61 <+45%2072%2037%2077%2061>
>>
>> tue.d...@ufst.dk
>>
>>  
>>
>> [image: Udviklings- og Forenklingsstyrelsen] 
>>
>>  
>>
>> Udviklings- og Forenklingsstyrelsen
>>
>> Osvald Helmuths Vej 4, 2000 Frederiksberg
>>
>> www.ufst.dk
>>
>>  
>>
>> Sådan behandler vi persondata 
>>
>> Udviklings- og Forenklingsstyrelsen er en del af Skatteforvaltningen
>>
>>  
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/41a8ad57-212c-420d-b944-b22e76f4fa63n%40googlegroups.com.


Re: New plugin - Support for Azure credentials via the Kubernetes Credentials Provider

2024-01-13 Thread Valentin Delaye (jonesbusy)
Hi,

You can follow 
https://www.jenkins.io/doc/developer/publishing/requesting-hosting/ in 
order to host your plugin

Best way is to start with 

mvn archetype:generate -B -DarchetypeGroupId=io.jenkins.archetypes 
-DarchetypeArtifactId=empty-plugin -DhostOnJenkinsGitHub=true 
-DarchetypeVersion=1.23 -DartifactId=

And then implement the extension and tests. It will ensure you have all the 
require files matching the archetype.

If you follow correctly all steps, the plugin can be hosted and released in 
matter of days on the plugin center.

Regards,

On Friday, January 12, 2024 at 4:52:40 PM UTC+1 tue.d...@ufst.dk wrote:

> Hi Jenkins Dev,
>
>  
>
> We need to use Azure to provision build agents and therefore need to store 
> the azure creds (service principal or a managed identity) as a jenkins 
> credential. As we are deploying on Kubernetes we rely on the Kuberneters 
> Credentials Provider plugin 
>  for 
> all our credentials.
>
> This plugin does not currently support the azure credentials types.
>
>  
>
> I have created this PR 
>  
> in order to support both the service principal and the managed identity, 
> but as indicated here 
> ,
>  
> this is best supported by a separate plugin.
>
>  
>
> Can’t find any existing support for this. I therefore believe the best way 
> forward are to implement a new plugin to handle this – just as is the case 
> with for example 
> https://plugins.jenkins.io/bitbucket-kubernetes-credentials/. Please let 
> me know if there’s another way that is preferred.
>
>  
>
> Suggested name: azure-kubernetes-credentials-plugin.
>
>  
>
>  
>
> Venlig hilsen
>
>  
>
> *Tue Sørensen Dissing*
>
> Chefkonsulent
>
> DevOps
>
>  
>
> +45 72 37 77 61 <+45%2072%2037%2077%2061>
>
> tue.d...@ufst.dk
>
>  
>
> [image: Udviklings- og Forenklingsstyrelsen] 
>
>  
>
> Udviklings- og Forenklingsstyrelsen
>
> Osvald Helmuths Vej 4, 2000 Frederiksberg
>
> www.ufst.dk
>
>  
>
> Sådan behandler vi persondata 
>
> Udviklings- og Forenklingsstyrelsen er en del af Skatteforvaltningen
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/bcd6c4ad-4bf4-4ecc-af21-919c43e5de2fn%40googlegroups.com.


New plugin - Support for Azure credentials via the Kubernetes Credentials Provider

2024-01-12 Thread 'Tue Sørensen Dissing' via Jenkins Developers
Hi Jenkins Dev,

We need to use Azure to provision build agents and therefore need to store the 
azure creds (service principal or a managed identity) as a jenkins credential. 
As we are deploying on Kubernetes we rely on the Kuberneters Credentials 
Provider 
plugin for 
all our credentials.
This plugin does not currently support the azure credentials types.

I have created this 
PR 
in order to support both the service principal and the managed identity, but as 
indicated 
here,
 this is best supported by a separate plugin.

Can't find any existing support for this. I therefore believe the best way 
forward are to implement a new plugin to handle this - just as is the case with 
for example https://plugins.jenkins.io/bitbucket-kubernetes-credentials/. 
Please let me know if there's another way that is preferred.

Suggested name: azure-kubernetes-credentials-plugin.


Venlig hilsen

Tue Sørensen Dissing
Chefkonsulent
DevOps

+45 72 37 77 61
tue.diss...@ufst.dk

[Udviklings- og Forenklingsstyrelsen]

Udviklings- og Forenklingsstyrelsen
Osvald Helmuths Vej 4, 2000 Frederiksberg
www.ufst.dk

Sådan behandler vi persondata
Udviklings- og Forenklingsstyrelsen er en del af Skatteforvaltningen

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/AM0PR10MB3716C3E424C2B703AB4D3DF9E86F2%40AM0PR10MB3716.EURPRD10.PROD.OUTLOOK.COM.