-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(end-of-summer-cleaning): remove storage, modify bootstrap struct…
…ure etc. Signed-off-by: Jordan Jones <me@jordanjones.org>
- Loading branch information
Showing
234 changed files
with
356 additions
and
4,213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# ./bootstrap | ||
|
||
This folder contains files that are usually required on all of my clusters like the sops encryption key and a encrypted ssh key used for my cluster to authenticate against github. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 26 additions & 0 deletions
26
.../raspi/apps/actions-runner-system/gha-runner-scale-set-controller/app/externalsecret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
# yaml-language-server: $schema=https://kubernetes-schemas.ok8.sh/external-secrets.io/externalsecret_v1beta1.json | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: actions-runner-controller-auth | ||
spec: | ||
secretStoreRef: | ||
kind: ClusterSecretStore | ||
name: onepassword-connect | ||
target: | ||
name: actions-runner-controller-auth-secret | ||
template: | ||
engineVersion: v2 | ||
data: | ||
ACTION_RUNNER_CONTROLLER_GITHUB_APP_ID: |- | ||
{{ .ACTION_RUNNER_CONTROLLER_GITHUB_APP_ID }} | ||
ACTION_RUNNER_CONTROLLER_GITHUB_INSTALLATION_ID: |- | ||
{{ .ACTION_RUNNER_CONTROLLER_GITHUB_INSTALLATION_ID }} | ||
ACTION_RUNNER_CONTROLLER_GITHUB_PRIVATE_KEY: |- | ||
{{ .ACTION_RUNNER_CONTROLLER_GITHUB_PRIVATE_KEY }} | ||
ACTION_RUNNER_CONTROLLER_GITHUB_WEBHOOK_SECRET_TOKEN: |- | ||
{{ .ACTION_RUNNER_CONTROLLER_GITHUB_WEBHOOK_SECRET_TOKEN }} | ||
dataFrom: | ||
- extract: | ||
key: actions-runner-controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
kubernetes/raspi/apps/actions-runner-system/gha-runner-scale-set/app/helmrelease.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
# yaml-language-server: $schema=https://kubernetes-schemas.ok8.sh/helm.toolkit.fluxcd.io/helmrelease_v2.json | ||
apiVersion: helm.toolkit.fluxcd.io/v2 | ||
kind: HelmRelease | ||
metadata: | ||
name: gha-runner-scale-set | ||
spec: | ||
interval: 30m | ||
chart: | ||
spec: | ||
chart: gha-runner-scale-set | ||
version: 0.9.3 | ||
sourceRef: | ||
kind: HelmRepository | ||
name: actions-runner-controller | ||
namespace: flux-system | ||
install: | ||
remediation: | ||
retries: 3 | ||
upgrade: | ||
cleanupOnFail: true | ||
remediation: | ||
strategy: rollback | ||
retries: 3 | ||
dependsOn: | ||
- name: gha-runner-scale-set-controller | ||
namespace: actions-runner-system | ||
valuesFrom: | ||
- targetPath: githubConfigSecret.github_app_id | ||
kind: Secret | ||
name: actions-runner-controller-auth-secret | ||
valuesKey: ACTION_RUNNER_CONTROLLER_GITHUB_APP_ID | ||
- targetPath: githubConfigSecret.github_app_installation_id | ||
kind: Secret | ||
name: actions-runner-controller-auth-secret | ||
valuesKey: ACTION_RUNNER_CONTROLLER_GITHUB_INSTALLATION_ID | ||
- targetPath: githubConfigSecret.github_app_private_key | ||
kind: Secret | ||
name: actions-runner-controller-auth-secret | ||
valuesKey: ACTION_RUNNER_CONTROLLER_GITHUB_PRIVATE_KEY | ||
values: | ||
nameOverride: gha-runner-scale-set | ||
runnerScaleSetName: gha-runner-scale-set | ||
githubConfigUrl: https://github.com/kashalls/home-cluster | ||
minRunners: 1 | ||
maxRunners: 6 | ||
containerMode: | ||
type: dind | ||
template: | ||
spec: | ||
containers: | ||
- name: runner | ||
image: ghcr.io/onedr0p/actions-runner:2.319.1@sha256:a4089b96bb4561051c954cc1f9019497dcc166c027b8e1474da7246a16796b43 | ||
command: ["/home/runner/run.sh"] | ||
controllerServiceAccount: | ||
name: gha-runner-scale-set-controller | ||
namespace: actions-runner-system |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.