Skip to content

Commit

Permalink
add job permission to create manually triggerede vulnerability scans
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Mar 28, 2023
1 parent bd03dd5 commit 91d2f7b
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ on:

env:
SDK_VERSION: "v1.24.0"
# IMG: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.111
# BUNDLE_IMG: ghcr.io/kubero-dev/kubero-operator/kuberoapp-bundle:v0.0.111
# IMG: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.112
# BUNDLE_IMG: ghcr.io/kubero-dev/kubero-operator/kuberoapp-bundle:v0.0.112

jobs:
# Push image to GitHub Packages.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To re-generate a bundle for another specific version without changing the standard setup, you can:
# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
VERSION ?= 0.0.111
VERSION ?= 0.0.112

# CHANNELS define the bundle channels used in the bundle.
# Add a new line here if you would like to change its default config. (E.g CHANNELS = "candidate,fast,stable")
Expand Down
8 changes: 4 additions & 4 deletions bundle/manifests/kubero-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -706,13 +706,13 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
certified: "false"
containerImage: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.111
containerImage: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.112
description: Kubero is a GitOps continuous delivery tool for Kubernetes.
operators.operatorframework.io/builder: operator-sdk-v1.24.0
operators.operatorframework.io/project_layout: helm.sdk.operatorframework.io/v1
repository: https://github.com/kubero-dev/kubero
support: Kubero Community
name: kubero-operator.v0.0.111
name: kubero-operator.v0.0.112
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -1402,7 +1402,7 @@ spec:
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
- --leader-election-id=kubero-operator
image: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.111
image: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.112
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -1489,4 +1489,4 @@ spec:
provider:
name: kubero
url: https://github.com/kubero-dev/
version: 0.0.111
version: 0.0.112
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ kind: Kustomization
images:
- name: controller
newName: ghcr.io/kubero-dev/kubero-operator/kuberoapp
newTag: v0.0.111
newTag: v0.0.112
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
certified: "false"
containerImage: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.111
containerImage: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.112
description: Kubero is a GitOps continuous delivery tool for Kubernetes.
repository: https://github.com/kubero-dev/kubero
support: Kubero Community
Expand Down
2 changes: 1 addition & 1 deletion deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ spec:
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
- --leader-election-id=kubero-operator
image: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.111
image: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.112
livenessProbe:
httpGet:
path: /healthz
Expand Down
5 changes: 4 additions & 1 deletion helm-charts/kubero/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ rules:
resources: ["customresourcedefinitions"]
verbs: ["list", "watch", "get"]
- apiGroups: [""]
resources: ["namespaces", "secrets", "pods", "pods/log", "events", "persistentvolumeclaims", "persistentvolumes", "jobs"]
resources: ["namespaces", "secrets", "pods", "pods/log", "events", "persistentvolumeclaims", "persistentvolumes"]
verbs: ["*"]
- apiGroups: ["batch"]
resources: ["jobs"]
verbs: ["*"]
- apiGroups: ["apps"]
resources: ["deployments"]
Expand Down

0 comments on commit 91d2f7b

Please sign in to comment.