https://pulumi.com logo
#general
Title
# general
b

bumpy-flag-23122

09/24/2021, 7:19 PM
UPDATE: I've fixed this. I believe the correct way to use it is to put the entire CM under one key. Kind of confusing.
Copy code
self.argo_configmap = ConfigMap(
            resource_name='test_cm',
            metadata=ObjectMetaArgs(name='argocd-cm',
                                    namespace='argocd'),
            data={
                "repositories": """- type: helm
  url: <https://test.com:8085>
  name: test-helm-repo
  usernameSecret:
      name: test-helm-repo-credentials
      key: username
  passwordSecret:
      name: test-helm-repo-credentials
      key: password
      """
            },
1
b

billowy-army-68599

09/24/2021, 7:30 PM
@bumpy-flag-23122 I usually take the data and stringify it to JSON for situations like this