-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(insights): optionally deploy a proxy for Insights (backport #670) (
#673) * feat(insights): optionally deploy a proxy for Insights (#670) * feat(insights): mount Insights token in Cryostat container Signed-off-by: Elliott Baron <ebaron@redhat.com> * Use 0440 mode for mounted token * Envtest based tests for controller watch changes * Fix hardcoded OpenShift module version * clean up test * Create HTTP proxy for communicating with Insights * Handle deletion case, add tests * Set INSIGHTS_PROXY, additional testing * cleanup * Convert filter test to unit test * Move setup to its own test file * cleanup * Add resource requirements and more tests * Fix license * Check the rest of the deployment too * Update log message * Add Bearer to Authentication header * Fix AllNamespaces install mode handling * Regenerate bundle --------- Signed-off-by: Elliott Baron <ebaron@redhat.com> (cherry picked from commit d719e43) # Conflicts: # bundle/manifests/cryostat-operator.clusterserviceversion.yaml * Fix conflicts --------- Co-authored-by: Elliott Baron <ebaron@redhat.com>
- Loading branch information
1 parent
3bbc730
commit 4afebeb
Showing
35 changed files
with
2,411 additions
and
134 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: controller-manager | ||
namespace: system | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: manager | ||
env: | ||
- name: RELATED_IMAGE_INSIGHTS_PROXY | ||
value: "quay.io/3scale/apicast:insights-01" | ||
- name: INSIGHTS_ENABLED | ||
value: "true" | ||
- name: INSIGHTS_BACKEND_DOMAIN | ||
value: "cert.console.redhat.com" |
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,5 @@ | ||
resources: | ||
- ../default | ||
|
||
patchesStrategicMerge: | ||
- insights_patch.yaml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: controller-manager | ||
namespace: system | ||
spec: | ||
template: | ||
spec: | ||
containers: | ||
- name: manager | ||
env: | ||
- name: RELATED_IMAGE_INSIGHTS_PROXY | ||
value: "${INSIGHTS_PROXY_IMG}" | ||
- name: INSIGHTS_ENABLED | ||
value: "true" | ||
- name: INSIGHTS_BACKEND_DOMAIN | ||
value: "${INSIGHTS_BACKEND}" |
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
Oops, something went wrong.