-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Enterprise License to be configured in Vault (#1032)
* Validate that users must set either both or neither enterpriseLicense.secretName and secretKey * Add ability to configure enterprise license tocome from vault * Add ability to configure enterprise license for client snapshot agent to come from vault * Add ability to configure enterprise license for client daemonset to come from vault * Updating the comments in help for enterprise license to mention it can also come from Vault. * Update Changelog for Enterprise License on Vault * Removing redundant tests in server-acl-init-job that test for existance of either both or neither enterprise license secretKey and secretName. * Do not mount volume or volume mounts for license when using vault * Removing redundant broken tests related to entperiseLicense not having either secretKey or secretName when the other is supplied * Adding test for that both global.enterpriseLicense.secretName and secretKey are provided when one of them is provided. * Adding acceptance test for Enterprise License on vault * Fixing acceptance test for Enterprise License on vault * Fixing ENTERPRISE_LICENSE setting enterprise-license-job for Enterprise License on vault * Fixing formatting * Fixing unit tests * Changing enterprise license logic in vault acceptance test to be conditional based on -enable-enterprise * Making helm values for ent license conditional in vault accpentance test. Adding failure logic to client-daemonset.yaml if secretName or secretKey is missing if one of them is already supplied. * checking on only enterpriseLicense.secretName (without secretKey) since chart will fail when both are not supplied. * Fixing broken test by allowing test suite config to be passed in so that we can conditionally add consul-enterprise licence policy to the Vault Auth Roles. * Adding license config in vault to TestVault_WANFederationViaGateways * Adding failure tests to client-statefulset when only one of global.enterpriseLicense.secretKey or secretName is supplied.
- Loading branch information
Showing
19 changed files
with
373 additions
and
133 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 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 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.