Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Fix spacing issues on values.yaml file #1812

Merged
merged 1 commit into from
Oct 12, 2020

Conversation

EStork09
Copy link
Contributor

Helm Chart ConfigMap is using OpenServiceMesh.serviceCertValidityDuration
Current default values are using OpenServiceMesh.certmanager.serviceCertValidityDuration
Looking at the other places this is referenced I believe this should be updated to be outside of certmanager. It looks like it doesn't happen in the osm cli because it is passing the value itself.
Configmap Template:

service_cert_validity_duration: {{ .Values.OpenServiceMesh.serviceCertValidityDuration | quote }}

Description:
Updating default values file on the helm charts to match installer values.

Affected area:

  • New Functionality [ ]
  • Documentation [ ]
  • Install [X]
  • Control Plane [ ]
  • CLI Tool [ ]
  • Certificate Management [ ]
  • Networking [ ]
  • Metrics [ ]
  • SMI Policy [ ]
  • Security [ ]
  • Tests [ ]
  • CI System [ ]
  • Performance [ ]
  • Other [ ]

Please answer the following questions with yes/no.

  • Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?
    No

Helm Chart ConfigMap is using `OpenServiceMesh.serviceCertValidityDuration`
Current default values are using `OpenServiceMesh.certmanager.serviceCertValidityDuration`
Looking at the other places this is referenced I believe this should be updated to be outside of certmanager. It looks like it doesn't happen in the [osm cli](https://github.com/openservicemesh/osm/blob/11e7e5eae48790bef3c7e3a51f7d1e6206d45a0d/cmd/cli/install.go#L210) because it is passing the value itself.
[Configmap Template](https://github.com/openservicemesh/osm/blob/11e7e5eae48790bef3c7e3a51f7d1e6206d45a0d/charts/osm/templates/osm-configmap.yaml#L21):
```
service_cert_validity_duration: {{ .Values.OpenServiceMesh.serviceCertValidityDuration | quote }}
```
@EStork09 EStork09 requested a review from a team as a code owner October 12, 2020 04:37
@codecov-io
Copy link

Codecov Report

Merging #1812 into main will decrease coverage by 0.23%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1812      +/-   ##
==========================================
- Coverage   59.20%   58.97%   -0.24%     
==========================================
  Files         125      125              
  Lines        5170     5170              
==========================================
- Hits         3061     3049      -12     
- Misses       2106     2118      +12     
  Partials        3        3              
Impacted Files Coverage Δ
...ertificate/providers/tresor/certificate_manager.go 64.04% <0.00%> (-12.36%) ⬇️
pkg/envoy/route/config.go 95.00% <0.00%> (-0.84%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1291e4b...d07877f. Read the comment docs.

Copy link
Contributor

@michelleN michelleN left a comment

Choose a reason for hiding this comment

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

Thank you @EStork09 !

@nojnhuh nojnhuh merged commit d3e9906 into openservicemesh:main Oct 12, 2020
eduser25 pushed a commit to eduser25/osm that referenced this pull request Oct 14, 2020
Helm Chart ConfigMap is using `OpenServiceMesh.serviceCertValidityDuration`
Current default values are using `OpenServiceMesh.certmanager.serviceCertValidityDuration`
Looking at the other places this is referenced I believe this should be updated to be outside of certmanager. It looks like it doesn't happen in the [osm cli](https://github.com/openservicemesh/osm/blob/11e7e5eae48790bef3c7e3a51f7d1e6206d45a0d/cmd/cli/install.go#L210) because it is passing the value itself.
[Configmap Template](https://github.com/openservicemesh/osm/blob/11e7e5eae48790bef3c7e3a51f7d1e6206d45a0d/charts/osm/templates/osm-configmap.yaml#L21):
```
service_cert_validity_duration: {{ .Values.OpenServiceMesh.serviceCertValidityDuration | quote }}
```
draychev pushed a commit to draychev/osm that referenced this pull request Oct 28, 2020
Helm Chart ConfigMap is using `OpenServiceMesh.serviceCertValidityDuration`
Current default values are using `OpenServiceMesh.certmanager.serviceCertValidityDuration`
Looking at the other places this is referenced I believe this should be updated to be outside of certmanager. It looks like it doesn't happen in the [osm cli](https://github.com/openservicemesh/osm/blob/11e7e5eae48790bef3c7e3a51f7d1e6206d45a0d/cmd/cli/install.go#L210) because it is passing the value itself.
[Configmap Template](https://github.com/openservicemesh/osm/blob/11e7e5eae48790bef3c7e3a51f7d1e6206d45a0d/charts/osm/templates/osm-configmap.yaml#L21):
```
service_cert_validity_duration: {{ .Values.OpenServiceMesh.serviceCertValidityDuration | quote }}
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants