Skip to content

Commit

Permalink
feat: update gh runner deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Oct 26, 2023
1 parent 3ec2ba6 commit 06ea304
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
4 changes: 3 additions & 1 deletion actions-runner-controller/prod/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources: []
resources:
- secret.yaml
- runner-deploy.yaml
17 changes: 17 additions & 0 deletions actions-runner-controller/prod/runner-deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
name: dev-runner
namespace: default
spec:
replicas: 1
template:
spec:
dockerdWithinRunnerContainer: true
group: Prod
image: summerwind/actions-runner-dind
organization: Naturalselectionlabs
resources:
requests:
cpu: '4'
memory: 8Gi
12 changes: 12 additions & 0 deletions actions-runner-controller/prod/secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Secret
metadata:
name: action-runner-controller-manager
namespace: guardian
annotations:
avp.kubernetes.io/path: "kv/data/guardian/action-runner-controller-manager"
type: Opaque
stringData:
github_app_id: "<github_app_id>"
github_app_installation_id: "<github_app_installation_id>"
github_app_private_key: "<github_app_private_key>"
5 changes: 0 additions & 5 deletions application_set.tf
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,6 @@ resource "argocd_application_set" "actions_runner_controller" {
plugin {
name = "avp-kustomize"
}
kustomize {
common_annotations = {
"app.kubernetes.io/instance" = "actions-runner-controller"
}
}
}

destination {
Expand Down

0 comments on commit 06ea304

Please sign in to comment.