-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.462.1
It appears that secrets created in Kubernetes and added to Jenkins using the Kubernetes Credential Provider plugin are being duplicated in the web UI when viewed within directories or pipelines.
For example, when you check the credentials at https://jenkinsurl/manage/credentials/, everything appears normal. However, if you navigate to https://jenkinsurl/job/test, you'll notice the secret listed twice: once as a grayed-out entry with the store set to kubernetes, and another time as an active entry with the store set to the name of the directory or pipeline, in this case, test:
The duplication issue worsens as you go deeper into the directory structure. For example, if you navigate to `/test/test1`, you'll see the secret listed three times: two of which are grayed out.
This will continue as long you go with deeper and deeper in the path of the pipelines and was not happening with older versions of the plugin.
Fortunately, this error is only aesthetic, it's not affecting any functionality.
Additional information about the environment:
Jenkins 2.462.1 (LTS)
kubernetes-credentials-provider:1.262.v2670ef7ea_0c5
Additional plugins:
- artifact-manager-s3:871.v72f7f642a_245
- artifactory:4.0.8
- atlassian-jira-software-cloud:2.0.15
- bitbucket:254.v9d8ec33a_7a_42
- build-discarder:139.v05696a_7fe240
- cloudbees-bitbucket-branch-source:888.v8e6d479a_1730
- dependency-track:5.0.0
- email-ext:1814.v404722f34263
- github:1.40.0
- github-api:1.321-468.v6a_9f5f2d5a_7e
- github-branch-source:1793.v1831e9c68d77
- jersey2-api:2.44-151.v6df377fff741
- jira:3.13
- jira-steps:2.0.165.v8846cf59f3db
- job-dsl:1.87
- ldap:725.v3cb_b_711b_1a_ef
- slack:734.v7f9ec8b_66975
- sonar:2.17.2
- swarm:3.47
- ant:511.v0a_a_1a_334f41b_
- antisamy-markup-formatter:162.v0e6ec0fcfcf6
- apache-httpcomponents-client-4-api:4.5.14-208.v438351942757
- asm-api:9.7-33.v4d23ef79fcc8
- authentication-tokens:1.119.v50285141b_7e1
- authorize-project:1.7.2
- aws-credentials:231.v08a_59f17d742
- aws-global-configuration:130.v35b_7b_96f53c3
- aws-java-sdk-api-gateway:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-autoscaling:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-cloudformation:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-cloudfront:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-codebuild:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-codedeploy:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-ec2:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-ecr:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-ecs:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-efs:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-elasticbeanstalk:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-elasticloadbalancingv2:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-iam:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-kinesis:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-lambda:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-logs:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-minimal:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-organizations:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-secretsmanager:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-sns:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-sqs:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk-ssm:1.12.767-467.vb_e93f0c614b_6
- aws-java-sdk:1.12.767-467.vb_e93f0c614b_6
- basic-branch-build-strategies:81.v05e333931c7d
- bootstrap5-api:5.3.3-1
- bouncycastle-api:2.30.1.78.1-248.ve27176eb_46cb_
- branch-api:2.1178.v969d9eb_c728e
- caffeine-api:3.1.8-133.v17b_1ff2e0599
- checks-api:2.2.0
- cloudbees-disk-usage-simple:203.v3f46a_7462b_1a_
- cloudbees-folder:6.942.vb_43318a_156b_2
- command-launcher:115.vd8b_301cc15d0
- commons-compress-api:1.26.1-2
- commons-lang3-api:3.16.0-82.ve2b_07d659d95
- commons-text-api:1.12.0-129.v99a_50df237f7
- config-file-provider:973.vb_a_80ecb_9a_4d0
- configuration-as-code:1836.vccda_4a_122a_a_e
- copyartifact:749.vfb_dca_a_9b_6549
- credentials:1371.vfee6b_095f0a_3
- credentials-binding:681.vf91669a_32e45
- dark-theme:479.v661b_1b_911c01
- data-tables-api:2.0.8-1
- display-url-api:2.204.vf6fddd8a_8b_e9
- durable-task:568.v8fb_5c57e8417
- echarts-api:5.5.0-1
- eddsa-api:0.3.0-4.v84c6f0f4969e
- embeddable-build-status:487.va_0ef04c898a_2
- font-awesome-api:6.5.2-1
- git:5.3.0
- git-client:5.0.0
- git-server:126.v0d945d8d2b_39
- gradle:2.12
- gson-api:2.11.0-41.v019fcf6125dc
- handy-uri-templates-2-api:2.1.8-30.v7e777411b_148
- instance-identity:185.v303dc7c645f9
- ionicons-api:74.v93d5eb_813d5f
- jackson2-api:2.17.0-379.v02de8ec9f64c
- jakarta-activation-api:2.1.3-1
- jakarta-mail-api:2.1.3-1
- javadoc:280.v050b_5c849f69
- javax-activation-api:1.2.0-7
- javax-mail-api:1.6.2-10
- jaxb:2.3.9-1
- jjwt-api:0.11.5-112.ve82dfb_224b_a_d
- joda-time-api:2.12.7-29.v5a_b_e3a_82269a_
- jquery3-api:3.7.1-2
- jsch:0.2.16-86.v42e010d9484b_
- json-api:20240303-41.v94e11e6de726
- json-path-api:2.9.0-58.v62e3e85b_a_655
- junit:1284.vf75d778f98c5
- kubernetes:4285.v50ed5f624918
- kubernetes-client-api:6.10.0-240.v57880ce8b_0b_2
- kubernetes-credentials:186.v71b_1a_82049de
- mailer:472.vf7c289a_4b_420
- matrix-auth:3.2.2
- matrix-project:832.va_66e270d2946
- maven-plugin:3.23
- mercurial:1260.vdfb_723cdcc81
- metrics:4.2.21-451.vd51df8df52ec
- mina-sshd-api-common:2.13.1-117.v2f1a_b_66ff91d
- mina-sshd-api-core:2.13.1-117.v2f1a_b_66ff91d
- okhttp-api:4.11.0-172.vda_da_1feeb_c6e
- pipeline-build-step:540.vb_e8849e1a_b_d8
- pipeline-graph-analysis:216.vfd8b_ece330ca_
- pipeline-groovy-lib:730.ve57b_34648c63
- pipeline-input-step:495.ve9c153f6067b_
- pipeline-milestone-step:119.vdfdc43fc3b_9a_
- pipeline-model-api:2.2205.vc9522a_9d5711
- pipeline-model-definition:2.2205.vc9522a_9d5711
- pipeline-model-extensions:2.2205.vc9522a_9d5711
- pipeline-rest-api:2.34
- pipeline-stage-step:312.v8cd10304c27a_
- pipeline-stage-tags-metadata:2.2205.vc9522a_9d5711
- pipeline-stage-view:2.34
- pipeline-utility-steps:2.17.0
- plain-credentials:183.va_de8f1dd5a_2b_
- plugin-util-api:4.1.0
- prism-api:1.29.0-15
- rebuild:332.va_1ee476d8f6d
- role-strategy:743.v142ea_b_d5f1d3
- scm-api:696.v778d637b_a_762
- script-security:1341.va_2819b_414686
- snakeyaml-api:2.2-121.v5a_68b_9300b_d4
- ssh-credentials:343.v884f71d78167
- sshd:3.330.vc866a_8389b_58
- structs:338.v848422169819
- support-core:1475.va_b_510dc46b_3d
- theme-manager:262.vc57ee4a_eda_5d
- timestamper:1.27
- token-macro:400.v35420b_922dcb_
- trilead-api:2.147.vb_73cc728a_32e
- variant:60.v7290fc0eb_b_cd
- workflow-aggregator:600.vb_57cdd26fdd7
- workflow-api:1332.vc21122317a_8e
- workflow-basic-steps:1058.vcb_fc1e3a_21a_9
- workflow-cps:3922.va_f73b_7c4246b_
- workflow-durable-task-step:1364.v2fd76fb_6fd41
- workflow-job:1436.vfa_244484591f
- workflow-multibranch:795.ve0cb_1f45ca_9a_
- workflow-scm-step:427.v4ca_6512e7df1
- workflow-step-api:678.v3ee58b_469476
- workflow-support:920.v59f71ce16f04
- aws-secrets-manager-credentials-provider:1.214.va_0a_d8268d068
- copyartifact:749.vfb_dca_a_9b_6549
- embeddable-build-status:487.va_0ef04c898a_2
- htmlpublisher:1.36
- job-dsl:1.87
- prometheus:780.v7c50a_d288424
- rebuild:332.va_1ee476d8f6d
- solarized-theme:0.1
- ssh-agent:376.v8933585c69d3