Skip to content

Commit

Permalink
Rename experimental services flag
Browse files Browse the repository at this point in the history
The flag is already called experimentalManagedServicesEnabled in the
configmap and in the code, so let's be consistent

Enabled sounds more appropriate than include, since it is a crosscutting
feature and not a component the you can include/exclude
  • Loading branch information
georgethebeatle committed Oct 18, 2024
1 parent 82c2d66 commit eb21836
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion helm/korifi/api/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ data:
{{- if .Values.eksContainerRegistryRoleARN }}
containerRegistryType: "ECR"
{{- end }}
experimentalManagedServicesEnabled: {{ .Values.experimental.managedServices.include }}
experimentalManagedServicesEnabled: {{ .Values.experimental.managedServices.enabled }}
role_mappings_config.yaml: |
roleMappings:
admin:
Expand Down
2 changes: 1 addition & 1 deletion helm/korifi/controllers/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ data:
networking:
gatewayNamespace: {{ .Release.Namespace }}-gateway
gatewayName: korifi
experimentalManagedServicesEnabled: {{ .Values.experimental.managedServices.include }}
experimentalManagedServicesEnabled: {{ .Values.experimental.managedServices.enabled }}
trustInsecureServiceBrokers: {{ .Values.experimental.managedServices.trustInsecureBrokers }}
4 changes: 1 addition & 3 deletions helm/korifi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ eksContainerRegistryRoleARN: ""
containerRegistryCACertSecret:
systemImagePullSecrets: []

experimentalManagedServicesEnabled: false

reconcilers:
build: kpack-image-builder
run: statefulset-runner
Expand Down Expand Up @@ -145,5 +143,5 @@ networking:

experimental:
managedServices:
include: false
enabled: false
trustInsecureBrokers: false
2 changes: 1 addition & 1 deletion scripts/deploy-on-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ function deploy_korifi() {
--set=networking.gatewayClass="contour" \
--set=networking.gatewayPorts.http="32080" \
--set=networking.gatewayPorts.https="32443" \
--set=experimental.managedServices.include="true" \
--set=experimental.managedServices.enabled="true" \
--set=experimental.managedServices.trustInsecureBrokers="true" \
--wait
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/installer/install-korifi-kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ spec:
--set=networking.gatewayClass="contour" \
--set=networking.gatewayPorts.http="32080" \
--set=networking.gatewayPorts.https="32443" \
--set=experimental.managedServices.include="true" \
--set=experimental.managedServices.enabled="true" \
--set=experimental.managedServices.trustInsecureBrokers="true" \
--wait
Expand Down

0 comments on commit eb21836

Please sign in to comment.