Skip to content

argocd integration fails if target repo uses k8s module #386

@nestoralonso

Description

@nestoralonso

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

You need an argocd with kcl plugin as shown in the official docs

Take the example app https://github.com/kcl-lang/flask-demo-kcl-manifests and add the k8s module

2. What did you expect to see? (Required)

kcl outputs pure yaml recognized by argocd and kubernetes

3. What did you see instead (Required)

cannot convert yaml to json because the script in kcl-cmp.yaml prints to stdout:

downloading 'kcl-lang/k8s:1.29' from 'ghcr.io/kcl-lang/k8s:1.29'

making the output not valid yaml

4. What is your KCL components version? (Required)

kcl version 0.8.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions