Add mechanism for k8s charms/images to pull secrets from k8s secret stores

Bug #1854759 reported by Barry Price
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Invalid
Medium
Unassigned
charm-k8s-wordpress
Confirmed
Wishlist
Unassigned

Bug Description

Secrets in charm config end up stored in plaintext on the Juju controller - ideally any given charm/image would be able to natively use Kubernetes secrets without exposing them to the controller or (potentially) in logs:

https://kubernetes.io/docs/concepts/configuration/secret/

Barry Price (barryprice)
information type: Proprietary → Public
Barry Price (barryprice)
description: updated
description: updated
summary: - Add mechanism for images to pull secrets from k8s secret stores
+ Add mechanism for k8s charms/images to pull secrets from k8s secret
+ stores
description: updated
Revision history for this message
Pen Gale (pengale) wrote :

We've got some work scheduled this cycle to plan for better modeled secrets across Juju clouds. Actual implementation would happen sometime in the 21.10 cycle (or later).

I linked this bug into the spec covering the work, so that we are sure to consider k8s native mechanisms when designing our secrets framework.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
Tom Haddon (mthaddon)
Changed in charm-k8s-wordpress:
status: New → Confirmed
importance: Undecided → Wishlist
John A Meinel (jameinel)
Changed in juju:
milestone: none → 2.9.1
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.9.1 → 2.9.2
Changed in juju:
milestone: 2.9.2 → 2.9.3
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.9.3 → 2.9-next
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This Medium-priority bug has not been updated in 60 days, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
Revision history for this message
Harry Pidcock (hpidcock) wrote :

Adding wallyworld as I believe this feature is being worked on now.

Changed in juju:
assignee: nobody → Ian Booth (wallyworld)
importance: Low → Medium
milestone: 2.9-next → 3.1-beta1
Harry Pidcock (hpidcock)
Changed in juju:
milestone: 3.1-beta1 → 3.2-beta1
Changed in juju:
milestone: 3.2-beta1 → 3.2-rc1
Ian Booth (wallyworld)
Changed in juju:
assignee: Ian Booth (wallyworld) → nobody
milestone: 3.2-rc1 → 3.3.0
Changed in juju:
milestone: 3.3.0 → 3.3.1
Changed in juju:
milestone: 3.3.1 → 3.3.2
Changed in juju:
milestone: 3.3.2 → 3.3.4
Ian Booth (wallyworld)
Changed in juju:
milestone: 3.3.4 → 3.3.5
Harry Pidcock (hpidcock)
Changed in juju:
milestone: 3.3.5 → 3.3.6
Harry Pidcock (hpidcock)
Changed in juju:
milestone: 3.3.6 → 3.4.4
Changed in juju:
milestone: 3.4.4 → 3.4.5
Revision history for this message
Vitaly Antonenko (anvial) wrote :

This is already implemented in Juju 3.1 or later as the "Juju Secrets" feature.

Changed in juju:
milestone: 3.4.5 → none
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.