sagikazarmark / helm-charts

Various Helm charts for my own and other projects
MIT License
43 stars 56 forks source link

Configuration not working with chart #192

Closed dmouha-xelians closed 1 year ago

dmouha-xelians commented 1 year ago

Hello,

I used the helm and chart to install sftpgo on my kubernetes cluster. The installation is ok but it seems that the configuration is not taken into account.

In the values.yaml I have

config:
    common:
      defender:
        enabled: true
    sftpd:
      enabled_ssh_commands: "*"

This translate into a json in /etc/sftpgo/sftpgo.json

{
    "common": {
        "defender": {
            "enabled": true
        }
    },
    "sftpd": {
        "enabled_ssh_commands": "*"
    }
}

But when I check the maintenance page, it seems that the configuration did not work for defender. It status is still disabled. I tried to enforce the environment variable: SFTPGO_CONFIG_FILE to the configuration file but still not working. Can you please provide guidance on how to **make defender enabled and enabled_ssh_commands to ***

Thanks

dmouha-xelians commented 1 year ago

Fixed issue due to tabulation