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

feat: create github k8s service account #77

Merged
merged 12 commits into from
Mar 6, 2023

Conversation

blucas
Copy link
Contributor

@blucas blucas commented Feb 28, 2023

What does this PR do?

Creates a service account that can be used by CI systems for authentication/authorization to the k8s cluster. Also includes a temporary workflow which demonstrates that the service account can authenticate to the cluster and is authorized to execute various operations on said cluster. This workflow does not need to be committed.

Related issues

Closes #65

Checklist before merging

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have checked the contributing document.
  • I have checked the existing Pull Requests to see whether someone else has raised a similar idea or question.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have upgraded the changelog according to the nature of the feature that I am adding to this Pull Request.

@blucas blucas marked this pull request as ready for review March 2, 2023 20:43
@LucaLanziani
Copy link
Member

LucaLanziani commented Mar 2, 2023

@blucas one for you ;)

➜  k8s-kurated-addons git:(feat/create-gh-k8s-service-account) make create-ci-service-account 
/bin/bash: line 1: ./scripts/create-ci-service-account.sh: Permission denied
make: *** [Makefile:96: create-ci-service-account] Error 126

EDIT: ignore me I might have to pull again :D
EDIT2: nope I'm on latest

@LucaLanziani
Copy link
Member

@blucas another one please:

➜  k8s-kurated-addons git:(feat/create-gh-k8s-service-account) ✗ make create-ci-service-account
error: the path "manifests/gha-service-account" does not exist
make: *** [Makefile:96: create-ci-service-account] Error 1

@blucas blucas merged commit 74ab411 into main Mar 6, 2023
@blucas blucas deleted the feat/create-gh-k8s-service-account branch March 6, 2023 16:42
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.

[CLOUD] Identify a method to generate credentials that can github action to deploy to the cluster.
3 participants