diff --git a/files/chartFlexibleTemplates/templates/cap-operator-cros.yaml b/files/chartFlexibleTemplates/templates/cap-operator-cros.yaml index 2cfa878..2ef49fe 100644 --- a/files/chartFlexibleTemplates/templates/cap-operator-cros.yaml +++ b/files/chartFlexibleTemplates/templates/cap-operator-cros.yaml @@ -85,9 +85,6 @@ spec: {{- if eq (include "hasService" (dict "si" .Values.serviceInstances "offeringName" "html5-apps-repo" "planName" "app-runtime")) "true" }} - {{ include "originalAppName" $ }}-html5-repo-runtime-bind {{- end }} - {{- if eq (include "hasService" (dict "si" .Values.serviceInstances "offeringName" "portal" "planName" "standard")) "true" }} - - {{ include "originalAppName" $ }}-portal-bind - {{- end }} deploymentDefinition: type: Router image: {{ .Values.workloads.appRouter.image }} @@ -121,9 +118,6 @@ spec: {{- if eq (include "hasService" (dict "si" .Values.serviceInstances "offeringName" "html5-apps-repo" "planName" "app-host")) "true" }} - {{ include "originalAppName" $ }}-html5-repo-host-bind {{- end }} - {{- if eq (include "hasService" (dict "si" .Values.serviceInstances "offeringName" "portal" "planName" "standard")) "true" }} - - {{ include "originalAppName" $ }}-portal-bind - {{- end }} {{- if eq (include "hasService" (dict "si" .Values.serviceInstances "offeringName" "content-agent" "planName" "application")) "true" }} - {{ include "originalAppName" $ }}-content-agent-bind {{- end }} diff --git a/hack/schema-generation.go b/hack/schema-generation.go index b3ac41e..23eb5c4 100644 --- a/hack/schema-generation.go +++ b/hack/schema-generation.go @@ -98,7 +98,7 @@ func updateProperties(data []byte) []byte { return data } -func updatePropertiesSimplifiedChart(data []byte) []byte { +func updatePropertiesFlexibleChart(data []byte) []byte { m := map[string]interface{}{} @@ -155,7 +155,7 @@ func main() { panic(errV2.Error()) } - dataV2 = updatePropertiesSimplifiedChart(dataV2) + dataV2 = updatePropertiesFlexibleChart(dataV2) fmt.Println(string(dataV2)) // write the whole body at once