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

General code tidy #4

Merged
merged 15 commits into from
May 29, 2020
Merged

Conversation

mark-au
Copy link
Contributor

@mark-au mark-au commented May 20, 2020

Non-functional changes:

  • OLCNE ships multiple modules when this repo uses the term 'module' to refer to the Kubernetes module. Rename references to Kubernetes module to allow easier future PRs that refer to new modules
  • Multiple shell scripts are delivered without a file extension, add one for readability
  • Improve formatting and content of user facing strings
  • Be consistent when using double quotes for variables

Functional changes that have no impact to outcome:

  • Close unnecessary firewall ports
  • Disable swap across reboots

Signed-off-by: Mark Cram mark.cram@oracle.com

mark-au added 10 commits May 20, 2020 14:31
Signed-off-by: Mark Cram <mark.cram@oracle.com>
Signed-off-by: Mark Cram <mark.cram@oracle.com>
Signed-off-by: Mark Cram <mark.cram@oracle.com>
Signed-off-by: Mark Cram <mark.cram@oracle.com>
Signed-off-by: Mark Cram <mark.cram@oracle.com>
Signed-off-by: Mark Cram <mark.cram@oracle.com>
Signed-off-by: Mark Cram <mark.cram@oracle.com>
Signed-off-by: Mark Cram <mark.cram@oracle.com>
Signed-off-by: Mark Cram <mark.cram@oracle.com>
Signed-off-by: Mark Cram <mark.cram@oracle.com>
@mark-au
Copy link
Contributor Author

mark-au commented May 20, 2020

@hyder do you perform squash merges on PRs or would you rather I rebase this to join a few commits together? I was going to do the latter but realized it may be wasted if you squash on merge.

Copy link

@Djelibeybi Djelibeybi left a comment

Choose a reason for hiding this comment

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

I've waved my editorial red pen across the draft. :)

modules/operator/scripts/configure_agent.template.sh Outdated Show resolved Hide resolved
modules/operator/scripts/configure_agent.template.sh Outdated Show resolved Hide resolved
modules/operator/scripts/configure_api.template.sh Outdated Show resolved Hide resolved
modules/operator/scripts/configure_api.template.sh Outdated Show resolved Hide resolved
modules/operator/scripts/configure_kata.template.sh Outdated Show resolved Hide resolved
modules/operator/scripts/install_helm.template.sh Outdated Show resolved Hide resolved
modules/operator/scripts/install_nginx.template.sh Outdated Show resolved Hide resolved
Signed-off-by: Mark Cram <mark.cram@oracle.com>
Signed-off-by: Mark Cram <mark.cram@oracle.com>
@mark-au
Copy link
Contributor Author

mark-au commented May 21, 2020

@hyder has confirmed he will be squashing during merge so I won't rebase the commits on this branch; I was going to do this for readability.

@mark-au mark-au marked this pull request as ready for review May 21, 2020 04:50
@mark-au mark-au requested a review from Djelibeybi May 21, 2020 05:05
Signed-off-by: Mark Cram <mark.cram@oracle.com>
@hyder
Copy link
Contributor

hyder commented May 21, 2020

Let's split cosmetic and operational changes in future.

@mark-au
Copy link
Contributor Author

mark-au commented May 25, 2020

I noted when testing that the nginx-nginx-ingress-nginxdefaultbackend deployment does not come online but it does not come online in the master branch either so I see no issues.

modules/master/locals.tf Outdated Show resolved Hide resolved
@hyder
Copy link
Contributor

hyder commented May 26, 2020

I noted when testing that the nginx-nginx-ingress-nginxdefaultbackend deployment does not come online but it does not come online in the master branch either so I see no issues.

#5

@hyder hyder merged commit 77968bd into oracle-terraform-modules:master May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants