-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from The-Huginn/issue-2
Add kubernetes CronJob
- Loading branch information
Showing
5 changed files
with
58 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
./mvnw clean package -Dquarkus.kubernetes.deploy=true | ||
sed -i '/^\s*selector: {}/d' target/kubernetes/openshift.yml | ||
oc apply -f target/kubernetes/openshift.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
camel.component.jira.jira-url=https://issues.redhat.com/ | ||
%test.jira-issue-lottery.access-token=ignored | ||
jira-issue-lottery.config-file-repo=https://github.com/The-Huginn/jira-issue-lottery | ||
jira-issue-lottery.config-file-repo=https://github.com/The-Huginn/jira-issue-lottery | ||
quarkus.kubernetes.deployment-kind=cron-job | ||
# Cron expression to run the job every Monday see https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#writing-a-cronjob-spec | ||
quarkus.kubernetes.cron-job.schedule=* * * * 1 | ||
quarkus.openshift.env.secrets=jira-lottery | ||
quarkus.openshift.labels.app=jira-issue-lottery | ||
|
||
# These 2 options are disabled to remove labels from selector field. However, | ||
# a manual removal of selector field all together is needed in the generated yml file under target/kubernetes | ||
quarkus.openshift.add-version-to-label-selectors=false | ||
quarkus.openshift.add-name-to-label-selectors=false | ||
|
||
quarkus.mailer.auth-methods=DIGEST-MD5 CRAM-SHA256 CRAM-SHA1 CRAM-MD5 PLAIN LOGIN | ||
quarkus.mailer.host=smtp.gmail.com | ||
quarkus.mailer.port=465 | ||
quarkus.mailer.ssl=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters