Skip to content

Commit

Permalink
[o/jetstack-cert-manager,cert-manager-istio-csr] Add periodic ci secu…
Browse files Browse the repository at this point in the history
…rity scanner

Signed-off-by: Swarup Ghosh <[email protected]>
  • Loading branch information
swghosh committed Jan 2, 2025
1 parent 949b26b commit e0aba3a
Show file tree
Hide file tree
Showing 16 changed files with 351 additions and 2 deletions.
15 changes: 15 additions & 0 deletions ci-operator/config/openshift/cert-manager-istio-csr/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# Fetched from https://github.com/openshift/cert-manager-istio-csr root OWNERS
# If the repo had OWNERS_ALIASES then the aliases were expanded
# Logins who are not members of 'openshift' organization were filtered out
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- deads2k
- swghosh
- trilokgeer
options: {}
reviewers:
- deads2k
- swghosh
- trilokgeer
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
binary_build_commands: echo no-op
resources:
'*':
limits:
memory: 1Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: security
cron: 0 0 * * 0,2,4
steps:
env:
PROJECT_NAME: openshift/cert-manager-istio-csr
TARGET_REFERENCE: release-1.15
workflow: openshift-ci-security
zz_generated_metadata:
branch: release-1.15
org: openshift
repo: cert-manager-istio-csr
15 changes: 15 additions & 0 deletions ci-operator/config/openshift/jetstack-cert-manager/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# Fetched from https://github.com/openshift/jetstack-cert-manager root OWNERS
# If the repo had OWNERS_ALIASES then the aliases were expanded
# Logins who are not members of 'openshift' organization were filtered out
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- deads2k
- swghosh
- trilokgeer
options: {}
reviewers:
- deads2k
- swghosh
- trilokgeer
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
binary_build_commands: echo no-op
resources:
'*':
limits:
memory: 1Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: security
cron: 0 0 * * 0,2,4
steps:
env:
PROJECT_NAME: openshift/cert-manager-operator
TARGET_REFERENCE: cert-manager-1.14
workflow: openshift-ci-security
zz_generated_metadata:
branch: release-1.14
org: openshift
repo: jetstack-cert-manager
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
binary_build_commands: echo no-op
resources:
'*':
limits:
memory: 1Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: security
cron: 0 0 * * 0,2,4
steps:
env:
PROJECT_NAME: openshift/jetstack-cert-manager
TARGET_REFERENCE: release-1.15
workflow: openshift-ci-security
zz_generated_metadata:
branch: release-1.15
org: openshift
repo: jetstack-cert-manager
15 changes: 15 additions & 0 deletions ci-operator/jobs/openshift/cert-manager-istio-csr/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# Fetched from https://github.com/openshift/cert-manager-istio-csr root OWNERS
# If the repo had OWNERS_ALIASES then the aliases were expanded
# Logins who are not members of 'openshift' organization were filtered out
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- deads2k
- swghosh
- trilokgeer
options: {}
reviewers:
- deads2k
- swghosh
- trilokgeer
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
periodics:
- agent: kubernetes
cluster: build03
cron: 0 0 * * 0,2,4
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-1.15
org: openshift
repo: cert-manager-istio-csr
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-cert-manager-istio-csr-release-1.15-security
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=security
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
15 changes: 15 additions & 0 deletions ci-operator/jobs/openshift/jetstack-cert-manager/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# Fetched from https://github.com/openshift/jetstack-cert-manager root OWNERS
# If the repo had OWNERS_ALIASES then the aliases were expanded
# Logins who are not members of 'openshift' organization were filtered out
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- deads2k
- swghosh
- trilokgeer
options: {}
reviewers:
- deads2k
- swghosh
- trilokgeer
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
periodics:
- agent: kubernetes
cluster: build03
cron: 0 0 * * 0,2,4
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-1.14
org: openshift
repo: jetstack-cert-manager
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-jetstack-cert-manager-release-1.14-security
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=security
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
periodics:
- agent: kubernetes
cluster: build03
cron: 0 0 * * 0,2,4
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-1.15
org: openshift
repo: jetstack-cert-manager
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-jetstack-cert-manager-release-1.15-security
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=security
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
12 changes: 12 additions & 0 deletions core-services/prow/02_config/medik8s/_prowconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,15 @@ tide:
- needs-rebase
orgs:
- medik8s
- labels:
- approved
- lgtm
missingLabels:
- backports/unvalidated-commits
- do-not-merge/hold
- do-not-merge/invalid-owners-file
- do-not-merge/work-in-progress
- jira/invalid-bug
- needs-rebase
orgs:
- medik8s
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# DO NOT EDIT; this file is auto-generated using https://github.com/openshift/ci-tools.
# Fetched from https://github.com/openshift/cert-manager-istio-csr root OWNERS
# If the repo had OWNERS_ALIASES then the aliases were expanded
# Logins who are not members of 'openshift' organization were filtered out
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- deads2k
- swghosh
- trilokgeer
options: {}
reviewers:
- deads2k
- swghosh
- trilokgeer
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
approve:
- commandHelpLink: ""
repos:
- openshift/cert-manager-istio-csr
require_self_approval: false
lgtm:
- repos:
- openshift/cert-manager-istio-csr
review_acts_as_lgtm: true
plugins:
openshift/cert-manager-istio-csr:
plugins:
- approve
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
tide:
queries:
- labels:
- approved
- lgtm
missingLabels:
- backports/unvalidated-commits
- do-not-merge/hold
- do-not-merge/invalid-owners-file
- do-not-merge/work-in-progress
- jira/invalid-bug
- needs-rebase
repos:
- openshift/cert-manager-istio-csr
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md

approvers:
- munnerz
- deads2k
- swghosh
- trilokgeer
options: {}
reviewers:
- munnerz
- deads2k
- swghosh
- trilokgeer
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
approve:
- commandHelpLink: ""
repos:
- openshift/jetstack-cert-manager
require_self_approval: false
lgtm:
- repos:
- openshift/jetstack-cert-manager
review_acts_as_lgtm: true
plugins:
openshift/jetstack-cert-manager:
plugins:
Expand Down

0 comments on commit e0aba3a

Please sign in to comment.