-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
task: move configuration to yaml (#38)
- Loading branch information
1 parent
ea61b36
commit bbfe0f2
Showing
6 changed files
with
99 additions
and
77 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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,53 @@ | ||
# Operator config | ||
related: | ||
image: | ||
server: ${RELATED_IMAGE_SERVER:ghcr.io/trustification/trustd:latest} | ||
db: ${RELATED_IMAGE_DB:quay.io/sclorg/postgresql-15-c9s:latest} | ||
pull-policy: Always | ||
# Quarkus config | ||
quarkus: | ||
container-image: | ||
registry: ghcr.io | ||
tag: v${quarkus.application.version} | ||
# Increase test hang time since the operator takes time to initiate all deployments | ||
test: | ||
hang-detection-timeout: 30M | ||
operator-sdk: | ||
crd: | ||
# set to true to automatically apply CRDs to the cluster when they get regenerated | ||
apply: true | ||
namespaces: JOSDK_WATCH_CURRENT | ||
generate-with-watched-namespaces: JOSDK_WATCH_CURRENT | ||
helm: | ||
enabled: true | ||
# https://quarkus.io/guides/deploying-to-kubernetes#environment-variables-from-keyvalue-pairs | ||
openshift: | ||
env: | ||
vars: | ||
related-image-trustify-server: ${related.image.server} | ||
related-image-db: ${related.image.db} | ||
related-image-importer: ${related.image.importer} | ||
kubernetes: | ||
env: | ||
vars: | ||
related-image-trustify-server: ${related.image.server} | ||
related-image-db: ${related.image.db} | ||
related-image-importer: ${related.image.importer} | ||
resources: | ||
requests: | ||
memory: 64Mi | ||
cpu: 50m | ||
limits: | ||
memory: 256Mi | ||
cpu: 250m | ||
rbac: | ||
roles: | ||
trustify: | ||
policy-rules: | ||
- api-groups: | ||
resources: '*' | ||
verbs: '*' | ||
- api-groups: security.openshift.io | ||
resources: securitycontextconstraints | ||
verbs: use | ||
resource-names: anyuid |