Skip to content

Commit

Permalink
Merge pull request #33349 from borg-land/delete-hmac-jobs
Browse files Browse the repository at this point in the history
delete hmac reconcile job
  • Loading branch information
k8s-ci-robot authored Aug 21, 2024
2 parents 6b9389e + 32fab9d commit 52f1807
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 68 deletions.
45 changes: 0 additions & 45 deletions config/jobs/kubernetes/test-infra/test-infra-trusted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,51 +32,6 @@ postsubmits:
testgrid-alert-email: [email protected], [email protected]
testgrid-num-failures-to-alert: '1'
description: deploys the configured version of prow by running prow/deploy.sh
- name: post-test-infra-reconcile-hmacs
cluster: test-infra-trusted
run_if_changed: 'config/prow/config.yaml'
decorate: true
branches:
- ^master$
max_concurrency: 1
spec:
containers:
- image: us-docker.pkg.dev/k8s-infra-prow/images/hmac:v20240802-66b115076
command:
- hmac
args:
- --config-path=config/prow/config.yaml
- --hook-url=https://prow.k8s.io/hook
- --hmac-token-secret-name=hmac-token
- --hmac-token-key=hmac
- --kubeconfig=/etc/kubeconfig/config
- --kubeconfig-context=prow-services
- --github-token-path=/etc/github/oauth
- --github-endpoint=http://ghproxy.default.svc.cluster.local
- --github-endpoint=https://api.github.com
- --dry-run=false
volumeMounts:
- name: kubeconfig
mountPath: /etc/kubeconfig
readOnly: true
- name: oauth
mountPath: /etc/github
readOnly: true
volumes:
- name: kubeconfig
secret:
defaultMode: 420
secretName: kubeconfig-prow-services
- name: oauth
secret:
defaultMode: 420
secretName: oauth-token
annotations:
testgrid-dashboards: sig-testing-prow
testgrid-tab-name: reconcile-hmacs
testgrid-alert-email: [email protected], [email protected]
testgrid-num-failures-to-alert: '1'
description: reconcile the hmac tokens and webhooks based on the managed_webhooks configuration in prow core config file
- name: post-test-infra-gencred-refresh-kubeconfig
cluster: test-infra-trusted
run_if_changed: '^config/prow/gencred-config/'
Expand Down
22 changes: 0 additions & 22 deletions config/prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,28 +190,6 @@ prowjob_namespace: default
pod_namespace: test-pods
log_level: debug

managed_webhooks:
# This has to be true if any of the managed repo/org is using the legacy global token that is manually created.
respect_legacy_global_token: true
# Config for orgs and repos that have been onboarded to this Prow instance.
org_repo_config:
kubernetes:
token_created_after: 2020-08-12T00:00:00Z
kubernetes-client:
token_created_after: 2020-07-24T00:00:00Z
kubernetes-csi:
token_created_after: 2020-08-12T00:00:00Z
kubernetes-security:
token_created_after: 2021-05-19T00:00:00Z
kubernetes-sigs:
token_created_after: 2020-08-12T00:00:00Z
containerd/containerd:
token_created_after: 2020-09-17T00:00:00Z
kubernetes-sigs/apisnoop:
token_created_after: 2020-09-22T00:00:00Z
etcd-io:
token_created_after: 2023-11-13T00:00:00Z

slack_reporter_configs:
'*':
job_types_to_report:
Expand Down
1 change: 0 additions & 1 deletion config/tests/jobs/jobs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ func TestCommunityJobs(t *testing.T) {
"ci-test-infra-gencred-refresh-kubeconfig",
"post-test-infra-deploy-prow",
"post-test-infra-gencred-refresh-kubeconfig",
"post-test-infra-reconcile-hmacs",
"ci-test-infra-autobump-prow",
"ci-test-infra-autobump-prow-for-auto-deploy",
)
Expand Down

0 comments on commit 52f1807

Please sign in to comment.