Skip to content

Commit

Permalink
Upgrade operator sdk (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen authored Mar 29, 2021
1 parent b0eda0b commit 5c30352
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
pull_request:
env:
KUBE_BUILDER_VERSION: "2.3.2"
OPERATOR_SDK_VERSION: "v1.4.2"
OPERATOR_SDK_VERSION: "v1.5.0"
jobs:
build:
runs-on: ubuntu-latest
Expand Down
8 changes: 6 additions & 2 deletions PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ layout: go.kubebuilder.io/v2
projectName: github-actions-runner-operator
repo: github.com/evryfs/github-actions-runner-operator
resources:
- group: garo
-
controller: true
domain: tietoevry.com
group: garo
kind: GithubActionRunner
path: github.com/evryfs/github-actions-runner-operator/api/v1alpha1
version: v1alpha1
version: 3-alpha
version: "3"
plugins:
go.operator-sdk.io/v2-alpha: {}
1 change: 1 addition & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ spec:
cpu: 100m
memory: 20Mi
terminationGracePeriodSeconds: 10
serviceAccountName: controller-manager
2 changes: 1 addition & 1 deletion config/rbac/auth_proxy_role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ roleRef:
name: proxy-role
subjects:
- kind: ServiceAccount
name: default
name: controller-manager
namespace: system
1 change: 1 addition & 0 deletions config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
resources:
- service_account.yaml
- role.yaml
- role_binding.yaml
- leader_election_role.yaml
Expand Down
2 changes: 1 addition & 1 deletion config/rbac/leader_election_role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ roleRef:
name: leader-election-role
subjects:
- kind: ServiceAccount
name: default
name: controller-manager
namespace: system
2 changes: 1 addition & 1 deletion config/rbac/role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ roleRef:
name: manager-role
subjects:
- kind: ServiceAccount
name: default
name: controller-manager
namespace: system
5 changes: 5 additions & 0 deletions config/rbac/service_account.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: controller-manager
namespace: system

0 comments on commit 5c30352

Please sign in to comment.