GoogleCloudPlatform / cloud-code-intellij

Plugin to support the Google Cloud Platform in IntelliJ IDEA - Docs and Issues Repository
Apache License 2.0
318 stars 59 forks source link

Invalid Data: Skaffold configuration file doesn't exist or is invalid #3085

Closed yinyuncan closed 2 years ago

yinyuncan commented 2 years ago

Expected Behavior

Unable to save configuration

Actual Behavior

image

This is my configuration

apiVersion: skaffold/v2beta19
kind: Config
build:
    tagPolicy:
        sha256: {}
    artifacts:
        - image: ym/park-2021
          context: ./

deploy:
    kubectl:
        manifests:
            - ./kubernetes-manifests/**.yaml
profiles:
    - name: cloudbuild
      build:
          googleCloudBuild: {}
    - name: dockerfile
      build:
          artifacts:
              - image: ym/park-2021

image

Additional Information

yinyuncan commented 2 years ago

I can save the file skaffold.yaml by changing it to skaffold.yml

我把文件skaffold.yaml改为skaffold.yml 之后就可以保存了 image

etanshaul commented 1 year ago

thanks for reporting @yinyuncan . the extension (yaml vs yml) shouldn't make a difference. We'll take a look. Glad you could resolve it though in the meantime.