-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment of Hygieia to OpenShift #135
Merged
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
776bdb4
Initial commit, with project setup and role assignments
etsauer 5b720d4
Adding some of the builds/deplos to applier
etsauer 38cbaf3
Update task list
etsauer 3b045fd
Add Tom George to the list of admins in rbac
tomgeorge 2e7aa6a
Scoping everythign to hygieia namespace
etsauer dd8d431
Docing and cleanup
etsauer 46feb00
Fixing database wiring
etsauer 783d950
Checking off mongo automation
etsauer 250bcf2
Merge branch 'hygieia' of https://github.com/etsauer/containers-quick…
tomgeorge d126793
Add image stream, build config, deployment, service, and routes for UI
tomgeorge 4749e2a
Add a Jenkins instance, start to create a Jenkins collector
tomgeorge 53dbb5f
got it to spin up perfectly on a regression project
tomgeorge e4f8349
Consolidate UI images into one template, rename run-ui to ui
tomgeorge f130982
Merge branch 'add-ui-templates' of github.com:tomgeorge/containers-qu…
tomgeorge 876fced
Merge pull request #3 from tomgeorge/add-ui-templates
etsauer 6d9f798
Merge pull request #4 from tomgeorge/add-jenkins-collector
etsauer 0188f6d
Add github collector. Not immediately obvious why I need to pass the…
tomgeorge 62b2162
Pass in the personal access token instead of hard coding it in the de…
tomgeorge 82fc937
Refactoring some of the templates
etsauer 7507325
Merge pull request #5 from tomgeorge/add-github-collector
etsauer 3f0a135
some cleanup
tomgeorge 6f21711
Add image stream, builder image, modify builder image to use openshif…
tomgeorge f0d1f3b
Checking a box
etsauer 5444061
testing OAuth2 call
tomgeorge 677366b
connect to a Jenkins that is secured with OAuth/Login with OpenShift
tomgeorge d780136
remove secret values
tomgeorge 7fed214
Merge pull request #6 from tomgeorge/connect-to-oauth-secured-jenkins
etsauer d592810
Refactoring and adding some executive dashboard components
etsauer d0739c7
Adding executive UI
etsauer d16f976
Merge branch 'hygieia' of https://github.com/etsauer/containers-quick…
pcarney8 ae1bcd1
Adding configs for executive collector
etsauer 4202d16
Merge branch 'master' into hygieia
etsauer 783e714
Fixing exec dashboard configs
etsauer 5643ef9
Merge branch 'hygieia' of https://github.com/etsauer/containers-quick…
pcarney8 b02b921
kickoff jenkins s2i when hygieia-plugin build is complete, delete jen…
pcarney8 7fa51df
Merge pull request #8 from pcarney8/etsauer-hygieia
etsauer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Initial commit, with project setup and role assignments
- Loading branch information
commit 776bdb43c475698d5e08f3cc68a2e6938891071d
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/.project | ||
.DS_Store | ||
.idea | ||
.idea | ||
**/galaxy/ |
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,21 @@ | ||
k8s_namespace: "{{ mynamespace | default('hygieia')}}" | ||
filter_tags: unpriv | ||
|
||
openshift_cluster_content: | ||
- object: Admin-level setup | ||
content: | ||
- name: Configure Projects | ||
template: "{{ inventory_dir }}/../.openshift/templates/projects.yml" | ||
params_from_vars: | ||
NAMESPACE: "{{ k8s_namespace }}" | ||
DISPLAY_NAME: Hygieia Deployment | ||
action: create | ||
tags: | ||
- priv | ||
- all | ||
- name: Apply policy objects | ||
template: "{{ inventory_dir }}/../.openshift/policy/" | ||
namespace: "{{ k8s_namespace }}" | ||
tags: | ||
- priv | ||
- all |
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,2 @@ | ||
[seed-hosts] | ||
localhost ansible_connection=local |
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,26 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: Template | ||
objects: | ||
- apiVersion: v1 | ||
groupNames: null | ||
kind: RoleBinding | ||
metadata: | ||
creationTimestamp: null | ||
name: admin | ||
roleRef: | ||
name: admin | ||
subjects: | ||
- kind: User | ||
name: esauer | ||
- kind: User | ||
name: cpitman | ||
- kind: User | ||
name: rspazzol | ||
- kind: User | ||
name: tquinn | ||
userNames: | ||
- esauer | ||
- cpitman | ||
- rspazzol | ||
- tquinn |
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: v1 | ||
kind: Template | ||
labels: | ||
template: project-template | ||
metadata: | ||
name: project-template | ||
objects: | ||
- kind: ProjectRequest | ||
apiVersion: v1 | ||
metadata: | ||
name: ${NAMESPACE} | ||
creationTimestamp: null | ||
displayName: ${DISPLAY_NAME} | ||
parameters: | ||
- name: NAMESPACE | ||
- name: DISPLAY_NAME |
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 @@ | ||
= Deploying Hygieia to OpenShift | ||
|
||
link:https://github.com/Hygieia/Hygieia[Hygieia] is a DevOps dashboarding project created by Capital One. This quickstart deploys Hygieia to OpenShift. |
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,8 @@ | ||
# This is the Ansible Galaxy requirements file to pull in the correct roles | ||
# to support the operation of CASL provisioning/runs. | ||
|
||
# From 'openshift-applier' | ||
- name: openshift-applier | ||
scm: git | ||
src: https://github.com/redhat-cop/openshift-applier | ||
version: v2.0.4 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we delete this and point to: https://raw.githubusercontent.com/redhat-cop/cluster-lifecycle/v3.9.0/files/projectrequest/template.yml instead?
need to add
NAMESPACE_DISPLAY_NAME: "{{ namespace }}"
to params if using it.