Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
Google Seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
slemrmartin committed Jan 18, 2021
1 parent cb37ea3 commit 61ff6fb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
3 changes: 3 additions & 0 deletions db/seeds/application_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@
:supported_source_types:
- amazon
- azure
- google
- openshift
:supported_authentication_types:
amazon:
- arn
azure:
- tenant_id_client_id_client_secret
google:
- username_password
openshift:
- token
"/insights/platform/cloud-meter":
Expand Down
28 changes: 28 additions & 0 deletions db/seeds/source_types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,34 @@ ansible-tower:
:condition:
:when: endpoint.verify_ssl
:is: true
google:
:product_name: Google Cloud Engine
:vendor: Google
:icon_url: "/apps/chrome/assets/images/partners-icons/google-cloud-engine.svg" # TODO
:schema:
:authentication:
- :type: username_password
:name: Project ID and Service Account JSON
:fields:
- :component: text-field
:name: authentication.authtype
:hideField: true
:initializeOnMount: true
:initialValue: username_password
- :component: text-field
:name: authentication.username
:label: Project ID
- :component: textarea
:name: authentication.password
:label: Service Account JSON
:endpoint:
:hidden: true
:fields:
- :component: text-field
:name: endpoint.role
:hideField: true
:initializeOnMount: true
:initialValue: google
azure:
:product_name: Microsoft Azure
:vendor: Azure
Expand Down

0 comments on commit 61ff6fb

Please sign in to comment.