Skip to content

Commit

Permalink
Get rid of deprecated api key variable (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansberry authored Dec 19, 2024
1 parent 26dbe30 commit 20964bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/ckan/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ckan_debug_enabled: "false"

fjelltopp_base_image: "fjelltopp/ubuntu:base"

ckan_sysadmin_api_key: dummyvalue
ckan_admin_api_token: dummyvalue

ckan_recaptcha_publickey: ""
ckan_recaptcha_privatekey: ""
Expand Down
4 changes: 2 additions & 2 deletions roles/ckan/templates/kubernetes/ckan_cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
image: {{ fjelltopp_base_image }}
command: ['bash', '-c']
args:
- "curl -rl -X POST -H 'Authorization: {{ ckan_sysadmin_api_key }}' {{ ckan_site_url }}/api/action/send_email_notifications;
curl -rl -X POST -H 'Authorization: {{ ckan_sysadmin_api_key }}' {{ ckan_site_url }}/api/action/send_phone_notifications"
- "curl -rl -X POST -H 'Authorization: {{ ckan_admin_api_token }}' {{ ckan_site_url }}/api/action/send_email_notifications;"
- "curl -rl -X POST -H 'Authorization: {{ ckan_admin_api_token }}' {{ ckan_site_url }}/api/action/send_phone_notifications;"

restartPolicy: Never

Expand Down

0 comments on commit 20964bf

Please sign in to comment.