Skip to content

Commit 20489c9

Browse files
committed
cronjobs in .lagoon, generate http auth on bashrc
1 parent 10c7b17 commit 20489c9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.lagoon.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ environments:
5656
service: auto-idler
5757
- name: curator
5858
schedule: '01 0 * * * '
59-
command: /usr/bin/curator --config curator.yml actions.yml
59+
command: /usr/bin/curator --config /curator/curator.yml /curator/actions.yml
6060
service: logs-db-curator

services/logs-db-curator/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ FROM ${IMAGE_REPO:-lagoon}/curator
44
COPY actions.yml curator.yml /curator/
55
COPY 90-generate-http-auth.sh /lagoon/entrypoints/
66

7+
RUN echo "source /lagoon/entrypoints/90-generate-http-auth.sh" >> /home/.bashrc
8+
79
ENV LAGOON_INDEXES="^(container-logs-|router-logs-|service-logs-|application-logs-|lagoon-logs-).*$"
8-
ENV CRONJOBS="01 0 * * * /usr/bin/curator --config /curator/curator.yml /curator/actions.yml"

0 commit comments

Comments
 (0)