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

changing kiem role #19

Closed
wants to merge 26 commits into from
5 changes: 2 additions & 3 deletions .github/workflows/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_DEV_SECRET_ID }}
AWS_REGION: us-east-1


jobs:
tag-validate:
runs-on: ubuntu-latest
Expand All @@ -44,7 +43,7 @@ jobs:
needs: [tag-validate]
steps:
- name: Checkout source
uses: accuknox/common-gh-actions/actions/checkout-source@main
uses: accuknox/common-gh-actions/actions/checkout-source@main
- name: Validate helm chart
uses: accuknox/common-gh-actions/actions/helm-check@main
with:
Expand Down Expand Up @@ -152,4 +151,4 @@ jobs:
version: ${{ github.ref_name }}
ecr-region: ${{ env.AWS_REGION }}
ecr-repo: ${{ env.REPO }}
type: public
type: public
21 changes: 19 additions & 2 deletions kiem-job/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,22 @@ rules:
- authorization.k8s.io
- certificates.k8s.io
- apiextensions.k8s.io
resources: ["*"]
verbs: ["*"]
- batch
resources:
- namespaces
- pods
- serviceaccounts
- roles
- rolebindings
- clusterroles
- clusterrolebindings
- deployments
- replicasets
- statefulsets
- daemonsets
- jobs
- cronjobs
verbs:
- get
- list
- watch
Loading