Skip to content
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

support cert by ip for aws #7945

Conversation

shaik80
Copy link
Member

@shaik80 shaik80 commented Jun 5, 2023

πŸ”© Description: What code changed, and why?

need to support cert by ip on aws deployment

⛓️ Related Resources

https://chefio.atlassian.net/browse/CHEF-2297

πŸ‘ Definition of Done

πŸ‘Ÿ How to Build and Test the Change

following test is done on Aws deployment

  • upgrade from curent version to latest changes
    steps
    1. use curent cli to do provision
    2. deploy
    3. cert rotate for all service a2/cs/pg/os
    4. upgrade to latest changes
    5. cert show (to see cert is reverted back or not)

  • upgrade from latest changes another version
    steps
    1. use latest change cli to do provision
    2. deploy
    3. cert rotate for all service a2/cs/pg/os
    4. upgrade to latest changes
    5. cert show (to see cert is reverted back or not)

  • add node
    steps
    1. add node
    2. cert show (to see cert is reverted back or not)

  • delete node
    steps
    1. delete node
    2. cert show (to see cert is reverted back or not)

βœ… Checklist

All PRs must tick these:

With occasional exceptions, all PRs from Progress employees must tick these:

  • Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
  • Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
  • Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
  • Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
  • Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

  • Tests added/updated? (all new code needs new tests)
  • Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.

πŸ“· Screenshots, if applicable

@netlify
Copy link

netlify bot commented Jun 5, 2023

βœ… Deploy Preview for chef-automate ready!

Name Link
πŸ”¨ Latest commit 3969ec6
πŸ” Latest deploy log https://app.netlify.com/sites/chef-automate/deploys/64a280136178560008736f62
😎 Deploy Preview https://deploy-preview-7945--chef-automate.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@shaik80 shaik80 force-pushed the CHEF-2297-implement-optional-cert-by-ip-by-ip-for-aws-deployment-also branch from 0ca3a3e to 0039acd Compare June 22, 2023 10:26
@vivekshankar1 vivekshankar1 self-requested a review June 22, 2023 16:49
type awsDeployment struct {
config AwsConfigToml
configPath string
AWSConfigIp
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Declare the type

Copy link
Collaborator

@ArvinthC3000 ArvinthC3000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check the custom cert flow in On-Prem and make suer this change is not braking On-Prem flow

@vivekshankar1
Copy link
Collaborator

Fix verify pipeline

@shaik80 shaik80 requested a review from a team as a code owner June 23, 2023 09:29
@github-actions github-actions bot added the documentation Anything related to the Automate docs. label Jun 23, 2023
@shaik80 shaik80 force-pushed the CHEF-2297-implement-optional-cert-by-ip-by-ip-for-aws-deployment-also branch from bcc70f9 to 36de80d Compare June 26, 2023 12:26
@shaik80 shaik80 force-pushed the CHEF-2297-implement-optional-cert-by-ip-by-ip-for-aws-deployment-also branch from e6beffa to c4e5ce9 Compare June 28, 2023 14:29
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
shaik80 and others added 10 commits July 3, 2023 13:26
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
…on config during provision

Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: shaik80 <shaik.mudassir@progress.com>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
@vivekshankar1 vivekshankar1 force-pushed the CHEF-2297-implement-optional-cert-by-ip-by-ip-for-aws-deployment-also branch from aab1576 to 3969ec6 Compare July 3, 2023 08:00
@sonarqube-for-infrastructure-prod

SonarQube Quality Gate

Quality Gate failed

Failed condition 19.9% 19.9% Coverage on New Code (is less than 80%)
Failed condition 17.0% 16.97% Duplicated Lines (%) on New Code (is greater than 3%)

See analysis details on SonarQube

@vivek-yadav vivek-yadav merged commit 174958d into main Jul 3, 2023
5 of 7 checks passed
@vivek-yadav vivek-yadav deleted the CHEF-2297-implement-optional-cert-by-ip-by-ip-for-aws-deployment-also branch July 3, 2023 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add_release_notes documentation Anything related to the Automate docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants