Skip to content

Commit

Permalink
fix reposcanner
Browse files Browse the repository at this point in the history
  • Loading branch information
mms-gianni committed Mar 22, 2023
1 parent 8a6cf14 commit 589949a
Show file tree
Hide file tree
Showing 7 changed files with 11 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.106
# BUNDLE_IMG: ghcr.io/kubero-dev/kubero-operator/kuberoapp-bundle:v0.0.106
# IMG: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.107
# BUNDLE_IMG: ghcr.io/kubero-dev/kubero-operator/kuberoapp-bundle:v0.0.107

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.106
VERSION ?= 0.0.107

# 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.106
containerImage: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.107
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.106
name: kubero-operator.v0.0.107
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.106
image: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.107
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.106
version: 0.0.107
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.106
newTag: v0.0.107
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.106
containerImage: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.107
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.106
image: ghcr.io/kubero-dev/kubero-operator/kuberoapp:v0.0.107
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/kuberoapp/templates/job-vulnerabilityscan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
- name: trivy-repo-scan
image: {{ .Values.vulnerabilityscan.image.repository }}:{{ .Values.vulnerabilityscan.image.tag | default "latest" }}
#command: ["trivy", "repo", "-q", "-f", "json", "--exit-code", "0", "--severity", "HIGH,CRITICAL", "--ignore-unfixed", ""]
command: ["trivy", "repo", {{ .Values.gitrepo.homepage | quote }}, "-q", "-f", "json", "--scanners", "vuln,secret,config", "--exit-code", "0"]
command: ["trivy", "repo", {{ .Values.gitrepo.clone_url | quote }}, "-q", "-f", "json", "--scanners", "vuln", "--exit-code", "0"]
{{- else }}
- name: trivy-image-scan
image: {{ .Values.vulnerabilityscan.image.repository }}:{{ .Values.vulnerabilityscan.image.tag | default "latest" }}
Expand Down

0 comments on commit 589949a

Please sign in to comment.