Skip to content

Commit

Permalink
Update base cronjob for new cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
michamos committed Nov 29, 2024
1 parent e501955 commit 9c317df
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions base/script-job/cronjob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
name: hep-script
containers:
- name: hep
image: inspirehep/hep
image: registry.cern.ch/docker.io/inspirehep/hep
command: ['inspirehep']
args: ['shell', '/usr/local/src/script.py']
volumeMounts:
Expand All @@ -45,15 +45,9 @@ spec:
fieldRef:
fieldPath: metadata.namespace
- name: POSTGRESQL_HOST
valueFrom:
secretKeyRef:
name: postgres-inspire-pguser-hep
key: pgbouncer-host
value: "inspire-qa-db-cluster-pooler-rw.inspire-qa.svc"
- name: POSTGRESQL_PORT
valueFrom:
secretKeyRef:
name: postgres-inspire-pguser-hep
key: pgbouncer-port
value: "5432"
- name: POSTGRESQL_USER
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit 9c317df

Please sign in to comment.