robjuz / helm-charts

https://robjuz.github.io/helm-charts/index.yaml
34 stars 30 forks source link

Can't able to integrate Azure AD | Helm Chart #78

Closed mayankkhullar closed 3 months ago

mayankkhullar commented 4 months ago

I was following doucmentation to integrate AZURE AD to kimai and i got to know there is a local.yaml file to be created with saml configurations as [er below docs

https://www.kimai.org/documentation/local-yaml.html https://www.kimai.org/documentation/saml-azure.html

In the document its mentioned to copy and paste the file and does not contain how to pass this configuration as env variable of file mount to container.

image

Could you please provide me the info

robjuz commented 4 months ago

You could try this.

configurationFromSecret:
  ## @param configurationFromSecret.enabled Enables Kimai configuration retrieval from secret
  ## When the value is set to 'true', the secret name must match the common.names.fullname template and include a 'local.yaml' key.
  enabled: false
robjuz commented 4 months ago

Here is a MR that enabled it

https://github.com/robjuz/helm-charts/pull/60

robjuz commented 4 months ago

You can also use this one directly:

configuration: |-
  monolog:
      handlers:
          main:
              path: php://stderr

And add your saml config here.

mayankkhullar commented 4 months ago

Thanks @robjuz let me paste this configuration under kimai section and will let you know in sometime

robjuz commented 3 months ago

You just put your local.yaml content under the configuration section in the values.yaml file. There are already the monolog settings. Just add your saml config. See the MR linked

mayankkhullar commented 3 months ago

Thanks i tried and its working !!