7028 Commits

Author SHA1 Message Date
dandds
421c4ca7f6
Merge pull request #1339 from robgil-dds/missing-outputs
Adds keyvault outputs
2020-01-20 14:06:33 -05:00
Rob Gil
4eded23051 Adds keyvault outputs 2020-01-20 14:04:51 -05:00
dandds
591682ab87 Display client source IP correctly in logs.
In order to display the client source IP, we need to make a
configuration change to the cluster. Setting externalTrafficPolicy to
"Local" preserves the client IP, per:

https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
2020-01-20 10:37:20 -05:00
dandds
ad70042774
Merge pull request #1333 from robgil-dds/170237669-updated-deploy-docs
Document process for adding secrets for redis and storage to keyvault…
2020-01-19 10:54:12 -05:00
leigh-mil
a1df5ee182
Merge pull request #1331 from dod-ccpo/remove-unused-translations
Remove unused translations
2020-01-17 16:22:06 -05:00
leigh-mil
7fee8b70a6 Remove unused translations 2020-01-17 15:56:25 -05:00
raydds
1647d802ea
Merge pull request #1325 from dod-ccpo/setup-script-improvements
Minor improvements to script/setup
2020-01-17 14:46:42 -05:00
raydds
1a07c029b7
Merge branch 'staging' into setup-script-improvements 2020-01-17 14:20:56 -05:00
Rob Gil
9684b608d4 Document process for adding secrets for redis and storage to keyvault with secrets-tool 2020-01-17 14:16:06 -05:00
dandds
c4b508693a
Merge pull request #1332 from robgil-dds/170237669-use-keyvault-for-postgres-secrets
170237669 - Converts postgres secrets to use keyvault
2020-01-17 14:10:32 -05:00
Hannah Brinkman
662886c162
Merge pull request #1330 from dod-ccpo/topbar-styling
Update _topbar.scss
2020-01-17 13:35:50 -05:00
Rob Gil
9c429e35da 170237669 - Converts postgres secrets to use keyvault
This changes the configuration of the postgres master username and
password. Instead of committing to source (short term hack), this now
sources those secrets from KeyVault. Those secrets are generated and
populated via secrets-tool.
2020-01-17 13:30:00 -05:00
Hannah Brinkman
0f52e75a4e
Merge branch 'staging' into topbar-styling 2020-01-17 13:02:20 -05:00
hmbrink
25bb64ed0b Update _topbar.scss
-Fixed iconography and nav link colors
2020-01-17 12:53:28 -05:00
leigh-mil
a4f2881a61
Merge pull request #1297 from dod-ccpo/portfolio-admin-styling__part-3
Portfolio admin styling - manager drop down menu and forms
2020-01-17 12:23:04 -05:00
leigh-mil
9806571001 Refactoring:
- Set dict values directly instead of creating a variable
- Comment out unused route function entirely
- Use f-strings for string interpolation
- Move div inside if statement so empty divs are not printed
2020-01-17 10:49:05 -05:00
leigh-mil
d154b90c05 Use translations in flash messages 2020-01-17 10:49:05 -05:00
leigh-mil
0c733dd365 Update display of PPoC and remove option to edit PPoC perms 2020-01-17 10:49:05 -05:00
leigh-mil
5036504ae2 Skip coverage on unused route 2020-01-17 10:49:05 -05:00
leigh-mil
d550b4108e Remove update ppoc route from the blueprint and skip related tests 2020-01-17 10:49:05 -05:00
leigh-mil
81680c4ba4 Add remove manager modal 2020-01-17 10:49:05 -05:00
leigh-mil
8f086604f5 Use member form macro on application edit perms and resend invite forms 2020-01-17 10:49:05 -05:00
leigh-mil
78321825a1 Add revoke invite modal 2020-01-17 10:49:05 -05:00
leigh-mil
4f345b462f Add resend invite form/modal, update routes and tests as necessary. 2020-01-17 10:49:05 -05:00
leigh-mil
56c213285f Add route to update portfolio manager perms, add modal form to update in the UI 2020-01-17 10:49:05 -05:00
leigh-mil
05e7dab673 Delete ppoc related tests 2020-01-17 10:49:05 -05:00
leigh-mil
df285eaa7f Add toggle menu to portfolio managers table.
Stub out menu items.
2020-01-17 10:49:05 -05:00
leigh-mil
5ba22d82e3 Move toggle menu into its own macro.
Use ToggleMenu macro in application team table.
2020-01-17 10:49:05 -05:00
leigh-mil
a5194d6f70 Remove PPoC files 2020-01-17 10:49:05 -05:00
dandds
3e694a346a
Merge pull request #1329 from robgil-dds/170268346-certificate-policy
170268346 - Enables access for admins to manage certificates in keyvault
2020-01-17 09:54:00 -05:00
Rob Gil
7aaad51f81 170268346 - Enables access for admins to manage certificates in keyvault
Grants access to the admins to manage certificates in keyvault
2020-01-17 09:28:42 -05:00
dandds
edb9ce6489
Merge pull request #1328 from dod-ccpo/topbar-adjustments2
Update _topbar.scss
2020-01-17 09:21:25 -05:00
Hannah Brinkman
56a2f2c306 Update _topbar.scss
-Cleaned up spacing, margins, and padding
-Refined font styling for JEDI logo and added semibold weight to nav links
2020-01-17 08:59:00 -05:00
dandds
eafb1d6941
Merge pull request #1321 from robgil-dds/169163334-secrets-tool
Secrets Tool
2020-01-17 08:35:50 -05:00
Rob Gil
55623028df Adds a secrets generator and loader
secrets-tool now has a feature to both generate secrets as well as load
the generated secrets in to KeyVault.
2020-01-16 21:40:26 -05:00
dandds
05a78359de
Merge pull request #1302 from dod-ccpo/170505212-uwsgi-logs
uWSGI plugin config changes.
2020-01-16 19:38:23 -05:00
Rob Gil
b9a7efe6ba Revised Pipfiles 2020-01-16 18:19:33 -05:00
Rob Gil
aa89505650 169163334 - Abstracts terraform wrapper code
The terraform wrapper is now abstracted in to a utility class for
working with terraform. The terraform module was also updated to support
configurable keyvault servers. Logging for this new module was also
added, so the terraform output is seen on the console.
2020-01-16 17:27:49 -05:00
Rob Gil
deead852b5 169163334 - Initial secrets-tool commit
Adds admin_users map and keyvault policy

This adds an admin_users map as well as a new policy in the keyvault
module. When run, this will apply an administrator policy for users in
the admin_users map. With these permissions, the admin users will be
able to manage secrets and keys in keyvault.

169163334 - Initial secrets-tool commit

Adds admin_users map and keyvault policy

This adds an admin_users map as well as a new policy in the keyvault
module. When run, this will apply an administrator policy for users in
the admin_users map. With these permissions, the admin users will be
able to manage secrets and keys in keyvault.

170237669 - Makes the read only policy for keyvault optional and only create the policy if a principal_id is passed

170237669 - Adds new operator keyvault for secrets

This is a new keyvault specifically for storing operator secrets and
things that would not be accessible to applications. The primary use
case for this is for launching things like postgres (root postgres
creds) and other services which would require secrets to be added to the
terraform configuration. This approach avoids adding secrets to
terraform.

An accompanying script will be added to populate the new keyvault.
2020-01-16 17:27:49 -05:00
dandds
2254e0dd01
Merge branch 'staging' into 170505212-uwsgi-logs 2020-01-16 16:58:52 -05:00
graham-dds
c61fd8940c
Merge pull request #1319 from dod-ccpo/bugfix/use-v-text-where-possible
Remove the remaining uses of v-html
2020-01-16 14:48:43 -05:00
graham-dds
c9c33ac978 Use v-text for alerts 2020-01-16 14:18:00 -05:00
graham-dds
477afbe075 use v-text for Vue validaitonError s 2020-01-16 14:18:00 -05:00
raydds
5d40876610
Merge branch 'staging' into setup-script-improvements 2020-01-16 12:12:10 -05:00
raydds
c2364d1080
Merge pull request #1324 from dod-ccpo/disable-mailer
Add a configuration disable the mailer in staging environments
2020-01-16 11:57:33 -05:00
raydds
b059605b37 Dropdb has a handy argument for conditionally dropping a database 2020-01-16 11:52:18 -05:00
dandds
d121a12429 Minimal config for cloudzero dev environment.
This includes config for the VMSS assigned identity to authenticate for
FlexVol purposes. Right now, some dummy keys are referenced in the
config that we'll swap for the real ones later.

This also includes config for specifying the subnet the load balancers
should be in.
2020-01-16 11:51:02 -05:00
raydds
d595ef60d3 Also supress the --version error 2020-01-16 11:46:03 -05:00
raydds
741636f00a This was erroring if the uploads directory already existed 2020-01-16 11:42:12 -05:00
raydds
e6078cbe4a pipenv --py reports a big scary error on the first run. Silence stderr 2020-01-16 11:41:56 -05:00