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

Fix indentation in wso2is-pattern-1-identity-server-conf.yaml #321

Open
RichardSufliarsky opened this issue May 12, 2022 · 0 comments
Open

Comments

@RichardSufliarsky
Copy link

Helm chart for is-pattern-1 doesn't work if you try to include deployment.toml configuration in values.yaml file.

Steps to reproduce:
Add this section under wso2.deployment.wso2is in values.yaml:

      config:
        deployment.toml: |-
          [server]

Proposed solution:
Indentation in:


should be as here:
https://github.com/wso2/kubernetes-apim/blob/65209e22670756215ef9809e1372dc3aeaa1a4af/advanced/am-pattern-4/templates/am/control-plane/instance-1/wso2am-pattern-4-am-control-plane-conf.yaml#L24

Instead of this:

data:
  {{- range $index, $content := .Values.wso2.deployment.wso2is.config }}
  {{ $index }}: |-
  {{ tpl $content $ | indent 4 }}
  {{- end }}

Should be this:

data:
  {{- range $index, $content := .Values.wso2.deployment.am.cp.config }}
  {{ $index }}: |-
{{ tpl $content $ | indent 4 }}
  {{- end }}

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