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

write krew manifest file for subctl #838

Closed
Jaanki opened this issue Jul 5, 2023 · 2 comments
Closed

write krew manifest file for subctl #838

Jaanki opened this issue Jul 5, 2023 · 2 comments
Assignees

Comments

@Jaanki
Copy link
Contributor

Jaanki commented Jul 5, 2023

write a crew manifest file for subctl so that subctl can be installed via Krew. The file needs to be submitted to krew index after 0.16.0 release.

The manifest file would look like this:

apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
  name: subm
spec:
  version: "v0.16.0"
  homepage: https://github.com/submariner-io/subctl
  shortDescription: "Manages Submariner and its services"
  description: |
    CLI to install, uninstall and troubleshoot Submariner on a Kubernetes cluster.
  platforms:
    - selector:
        matchLabels:
          os: linux
          arch: amd64
      uri: https://github.com/submariner-io/releases/releases/download/v0.15.0/subctl-v0.15.0-linux-amd64.tar.gz
      sha256: "e5a1ee20019a345a45cb3dcd4f653ea9eb0e34c04f6b6e598bf1294e37359095"
      files:
        - from: subctl*/subctl
          to: .
      bin: subctl

Changes to be made:

  1. The URL has to be changed
  2. Logic for other OS/Arch needs to be added

Depends on: submariner-io/releases#723

@Jaanki Jaanki added the bug Something isn't working label Jul 5, 2023
@Jaanki Jaanki self-assigned this Jul 5, 2023
@dfarrell07 dfarrell07 removed the bug Something isn't working label Jul 18, 2023
@Jaanki Jaanki removed this from Submariner 0.17 Sep 28, 2023
@Jaanki Jaanki moved this to Todo in Submariner 0.17 Oct 4, 2023
@Jaanki Jaanki moved this from Todo to In Progress in Submariner 0.17 Oct 17, 2023
@Jaanki
Copy link
Contributor Author

Jaanki commented Oct 17, 2023

Raised a PR: kubernetes-sigs/krew-index#3432

@Jaanki Jaanki moved this from In Progress to Done in Submariner 0.17 Nov 28, 2023
@Jaanki
Copy link
Contributor Author

Jaanki commented Nov 30, 2023

Closing as DONE. The above PR is merged. subctl is now available as a krew plugin named subm.

$ kubectl subm version
subctl version: v0.16.2

@Jaanki Jaanki closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants