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

Add source YAML #138

Merged
merged 3 commits into from
Jan 21, 2021
Merged

Add source YAML #138

merged 3 commits into from
Jan 21, 2021

Conversation

olblak
Copy link
Member

@olblak olblak commented Jan 17, 2021

Add source "YAML".
This change needed some refactoring on the source interface in order to fetch files from a scm repository.

The source yaml can be configured as follow

source:
  kind: yaml
  spec:
    file: examples/values.yaml
    key: "github.user"
  #  SCM is optional
  #scm:
  #  github:
  #    user: "{{ .github.user }}" 
  #    email: "{{ .github.email }}" 
  #    owner: "{{ .github.owner }}" 
  #    repository: "{{ .github.repository }}" 
  #    token: "{{ requiredEnv .github.token }}" 
  #    username: "{{ .github.username }}" 
  #    branch: "{{ .github.branch }}" 

Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
@olblak olblak added the enhancement New feature or request label Jan 17, 2021
@olblak olblak self-assigned this Jan 17, 2021
@olblak olblak merged commit eaf2514 into master Jan 21, 2021
@olblak olblak deleted the source/yaml branch January 23, 2021 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant