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

Clean up code #98

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Clean up code #98

merged 2 commits into from
Nov 13, 2024

Conversation

markdboyd
Copy link
Contributor

Changes proposed in this pull request:

  • Remove unused opsfile
  • Remove duplicate opsfile block

Things to check

  • For any logging statements, is there any chance that they could be logging sensitive data?
  • Are log statements using a logging library with a logging level set? Setting a logging level means that log statements "below" that level will not be written to the output. For example, if the logging level is set to INFO and debugging statements are written with log.debug or similar, then they won't be written to the otput, which can prevent unintentional leaks of sensitive data.

Security considerations

None, just cleaning up code

@markdboyd markdboyd requested a review from a team as a code owner November 13, 2024 22:14
Comment on lines -95 to -113
# add route for auth proxy job
- type: replace
path: /instance_groups/name=opensearch_dashboards/jobs/name=route_registrar?
value:
consumes:
nats-tls:
deployment: cf-development
from: nats-tls
name: route_registrar
properties:
route_registrar:
routes:
- name: opensearch-auth-proxy
registration_interval: 2s
server_cert_domain_san: auth-proxy.opensearch.internal
timeout: 1s
tls_port: 8000
release: routing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is handled below by lines 115-131

- type: replace
path: /instance_groups/name=opensearch_dashboards/jobs/name=route_registrar?
value:
consumes:
nats-tls:
deployment: ((cf-deployment))
from: nats-tls
name: route_registrar
properties:
route_registrar:
routes:
- name: opensearch-auth-proxy
registration_interval: 2s
server_cert_domain_san: auth-proxy.opensearch.internal
timeout: 1s
tls_port: 8000
release: routing

Copy link
Contributor

@JasonTheMain JasonTheMain left a comment

Choose a reason for hiding this comment

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

looks good- good cleanup

@markdboyd markdboyd merged commit ea8f280 into main Nov 13, 2024
1 check passed
@markdboyd markdboyd deleted the clean-up-code branch November 13, 2024 22:19
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