Skip to content

Commit

Permalink
add missing migration steps to changelog (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
glitchcrab authored Aug 22, 2024
1 parent 1254a75 commit ed07205
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ Use the snippets below if the section applies to your chart's values:

## Control Plane endpoint address

If the controlPlane endpoint IP (loadbalancer for the Kubernetes API) has been statically assigned (this likely will not apply to workload clusters) then this value will need to be duplicated to the extraCertificateSANs list.
If the controlPlane endpoint IP (loadbalancer for the Kubernetes API) has been statically assigned (this likely will not apply to workload clusters) then this value will need to be duplicated to the extraCertificateSANs list. Also, any additional certificate SANs must be added to the extraCertificateSANs list.

```
yq eval --inplace 'with(select(.global.connectivity.network.controlPlaneEndpoint.host != null); .cluster.internal.advancedConfiguration.controlPlane.apiServer.extraCertificateSANs += [ .global.connectivity.network.controlPlaneEndpoint.host ])' values.yaml
yq eval --inplace 'with(select(.global.connectivity.network.controlPlaneEndpoint.host != null); .cluster.internal.advancedConfiguration.controlPlane.apiServer.extraCertificateSANs += [ .global.connectivity.network.controlPlaneEndpoint.host ]) |
with(select(.internal.apiServer.certSANs != null); .cluster.internal.advancedConfiguration.controlPlane.apiServer.extraCertificateSANs += [ .internal.apiServer.certSANs[] ])' values.yaml
```

## API server admission plugins
Expand Down Expand Up @@ -81,6 +82,7 @@ Final tidyup to remove deprecated values:
```
yq eval --inplace 'del(.internal.apiServer.enableAdmissionPlugins) |
del(.internal.apiServer.featureGates) |
del(.internal.apiServer.certSANs) |
del(.internal.enableEncryptionProvider) |
del(.global.controlPlane.oidc.caFile) |
del(.global.controlPlane.oidc.groupsPrefix) |
Expand Down

0 comments on commit ed07205

Please sign in to comment.