Skip to content

Commit

Permalink
adding job for post-install and moving job to cronjob for nightly met…
Browse files Browse the repository at this point in the history
…rics
  • Loading branch information
Gregory-Pereira committed Nov 15, 2023
1 parent f35c3a2 commit d631ada
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
8 changes: 4 additions & 4 deletions charts/trusted-artifact-signer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ Kubernetes: `>= 1.19.0-0`
| configs.fulcio.server.secret.root_cert_file | file containing fulcio root certificate authority (CA) | string | `""` |
| configs.sigstore_monitoring.namespace | | string | `"sigstore-monitoring"` |
| configs.sigstore_monitoring.namespace_create | | bool | `true` |
| configs.segment_backup_job.image.registry | | string | `"registry.access.redhat.com"` |
| configs.segment_backup_job.image.registry | | string | `"quay.io"` |
| configs.segment_backup_job.image.pullPolicy | | string | `"IfNotPresent"` |
| configs.segment_backup_job.image.registry | | string | `"registry.access.redhat.com"` |
| configs.segment_backup_job.image.repository | | string | `"ubi9/python-311"` |
| configs.segment_backup_job.image.version | | string | `"sha256:92416840a0361bf5c8ed6071f50098ddbdd1d14285793d4bcd8e761658c97df8"` |
| configs.segment_backup_job.image.registry | | string | `"quay.io"` |
| configs.segment_backup_job.image.repository | | string | `"redhat-user-workloads/rhtas-tenant/rhtas-stack-1-0-beta/segment-backup-job"` |
| configs.segment_backup_job.image.version | | string | `"sha256:d5b5f7942e898a056d2268083e2d4a45f763bce5697c0e9788d5aa0ec382cc44"` |
| configs.segment_backup_job.name | | string | `"nightlyMetricsCollection"` |
| configs.segment_backup_job.namespace | | string | `"sigstore-monitoring"` |
| configs.rekor.clusterMonitoring.enabled | | bool | `true` |
Expand Down
3 changes: 0 additions & 3 deletions charts/trusted-artifact-signer/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
}
}
},
Expand Down
3 changes: 0 additions & 3 deletions charts/trusted-artifact-signer/values.schema.tmpl.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
"properties": {
"namespace": {
"type": "string"
},
"namespace_create": {
"type": "boolean"
}
}
},
Expand Down
1 change: 0 additions & 1 deletion charts/trusted-artifact-signer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ global:
configs:
sigstore_monitoring:
namespace: sigstore-monitoring
namespace_create: true
segment_backup_job:
name: segment-backup-job
namespace: sigstore-monitoring
Expand Down
2 changes: 2 additions & 0 deletions tas-easy-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ if [[ -n $segment_backup_job ]]; then
oc delete job $segment_backup_job -n sigstore-monitoring
fi

oc new-project sigstore-monitoring > /dev/null 2>&1

pull_secret_exists=$(oc get secret pull-secret -n sigstore-monitoring --ignore-not-found=true)
if [[ -n $pull_secret_exists ]]; then
read -p "Secret \"pull-secret\" in namespace \"sigstore-monitoring\" already exists. Overwrite it (Y/N)?: " -n1 overwrite_pull_secret
Expand Down

0 comments on commit d631ada

Please sign in to comment.