Skip to content

Commit

Permalink
Removed portal + minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhprasad-sap committed Aug 20, 2024
1 parent f2a42ec commit a4ae12f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions files/chartFlexibleTemplates/templates/cap-operator-cros.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions hack/schema-generation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}{}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a4ae12f

Please sign in to comment.