Skip to content

symlink to config#98

Merged
apesternikov merged 4 commits intoadobe:masterfrom
apesternikov:ap/symlink-config
Oct 17, 2022
Merged

symlink to config#98
apesternikov merged 4 commits intoadobe:masterfrom
apesternikov:ap/symlink-config

Conversation

@apesternikov
Copy link
Copy Markdown
Collaborator

Description

Use symlink to configure k8s cluster instead of generating a config file in repo rule

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [X ] I have signed the Adobe Open Source CLA.
  • [X ] My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

skylib/k8s.bzl Outdated
attrs = {
"cluster": attr.string(),
"server": attr.string(),
"symlink": attr.bool(),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe call it use_host_config

@apesternikov apesternikov merged commit 18ac32a into adobe:master Oct 17, 2022
arturo-skydio pushed a commit to Skydio/rules_gitops that referenced this pull request Oct 5, 2023
* fixes additional calls to kubectl that were always using default user

* skylib/k8s.bzl changes from michaelschiff/rules_gitops

* rename symlink to use_host_config per code review

Co-authored-by: Michael Schiff <schiff.michael@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants