Skip to content

Unknown property 'url' for type 'VaultConfig' vscode-concourse(YamlSchemaProblem) #1534

@cluedtke

Description

@cluedtke

Describe the bug
concourse-language-server incorrectly defines uri, should instead be url according to the docs: https://concourse-ci.org/vars.html#schema.var_source

I know var_sources is flagged as "experimental", and uri may have been used in the past, but I've been using url without issue for the past year.

I'd be happy to raise a PR if you agree with changing uri to url.

To Reproduce
Define a vault var_source type, with a VaultConfig that includes the correct field, url. This gives an error:

Unknown property 'url' for type 'VaultConfig'vscode-concourse' (YamlSchemaProblem)

Sample

var_sources:
  - name: vault-aws-engine-account
    type: vault
    config:
      url: https://my-vault-server.io
      path_prefix: aws
      auth_backend: approle
      auth_params:
        role_id: concourse-access-role_id
        secret_id: concourse-access-secret_id

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions