Add rbac.namespaced value as an option to disable creation of cluster roles and role bindings #1399
This file contains hidden or 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
--- | |
name: "Unit Test" | |
permissions: {} | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.23.x] | |
k8s_version: [1.24.1, 1.27.1, 1.30.0] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Test | |
run: | | |
make test-setup | |
make test | |
env: | |
ENVTEST_K8S_VERSION: ${{ matrix.k8s_version }} |