Skip to content

When config-server is integrated to mongos charm - secret data is shown #312

Description

@MiaAltieri
juju add-model test
cd ~/mongodb-k8s-operator
tox -e build-production
 juju deploy ./*charm --config role="shard" shard0 -n1  --resource mongodb-image=ghcr.io/canonical/charmed-mongodb:6.0.6-22.04_edge@sha256:b4b3edb805b20de471da57802643bfadbf979f112d738bc540ab148d145ddcfe
 juju deploy ./*charm --config role="config-server" config-server -n1  --resource mongodb-image=ghcr.io/canonical/charmed-mongodb:6.0.6-22.04_edge@sha256:b4b3edb805b20de471da57802643bfadbf979f112d738bc540ab148d145ddcfe

cd ~/mongos-k8s-operator 
tox -e build-production
juju deploy ./*charm --resource mongodb-image=ghcr.io/canonical/charmed-mongodb:6.0.6-22.04_edge@sha256:b4b3edb805b20de471da57802643bfadbf979f112d738bc540ab148d145ddcfe

juju integrate config-server:config-server shard0:sharding
juju integrate config-server mongos-k8s
juju show-unit mongos0k8s/0 # this will show secret data 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions