Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configmaps contents (data or binary data) using the following set of 4 parameters *FileSource are empty #88

Open
fbarutel opened this issue Mar 11, 2024 · 0 comments

Comments

@fbarutel
Copy link

Describe the bug

Configmaps' contents (data or binary data) using the following set of 4 parameters are empty :

configFileSource:
partialsDirSource: 
settingsDirSource:
templatesDirSource:

Tools versions

Launching environment : Windows 10 OS with helm.exe v3.14.2
Target environment : aaS Kubernetes v1.28 from OVHcloud

Directories structure

└───sources
    ├───krakend
    │   │   helm-krakend.yaml
    │   │
    │   └───config
    │       │   krakend.tmpl
    │       │
    │       ├───partials
    │       │       input_headers.tmpl
    │       │       query_strings_list.tmpl
    │       │       rate_limit_backend.tmpl
    │       │
    │       ├───settings
    │       │   └───xstaging
    │       │           endpoints.json
    │       │           service.json
    │       │
    │       └───templates
    │               analyser_analyses.tmpl
    │               analyser_analyzes.tmpl
    │               endpoints.tmpl
    │               <multiples tmpl files loaded with template calls within endpoints.tmpl file>.tmpl

What I have tested

I mainly used the parameters partialsDirSource:, settingsDirSource: for these tries.

As "relative path' are mentionned in the Helm Charts comments or within the "feat: add external file for other configs" #73, I tried :

  • relative path from the current directory where I launched the helm command
  • relative path from the custom helm values YAML file
  • variants of the first couples with and without "./" at the begining (targetting directories)
  • variants of the first couples with and without "/" at the end (targetting directories)
  • relative path from the custom helm values YAML file with **.tmpl and **.json at the end (targetting multiples files) for the parameters partialsDirSource:, settingsDirSource: and templatesDirSource:

All values were surrounded by double quotation mark: "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant