Skip to content

netbox.redis.secretName rendered incorrectly #61

@sergey-kalikin-adjust

Description

@sergey-kalikin-adjust

When trying to use external Redis containers do not start with an error:
MountVolume.SetUp failed for volume "secrets" : secret "netbox-redis" not found
I have externalRedis.existingSecretName empty. Secret name should be netbox-external-redis:

kubectl get secrets -n netbox                                                                                               
NAME                           TYPE                 DATA   AGE
netbox-external-redis          Opaque               2      3m42s
netbox                         Opaque               7      3m42s
netbox-external-db             Opaque               1      3m42s
sh.helm.release.v1.netbox.v1   helm.sh/release.v1   1      3m42s

Looks like this name:
https://github.com/startechnica/apps/blob/main/charts/netbox/templates/_helpers.tpl#L477
Should be rendered similar to db:
https://github.com/startechnica/apps/blob/main/charts/netbox/templates/_helpers.tpl#L413

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions