Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/add validation endpoint #255

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/example-content/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "0.138.0"
description: Helm Chart for the openmfp Portal
name: example-content
version: 0.111.15
version: 0.111.16
dependencies:
- name: common
version: 0.2.7
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if eq (include "common.getNestedValue" (dict "Values" .Values "key" "istio.enabled")) "true" -}}
{{- if eq (include "common.getKeyValue" (dict "Values" .Values "key" "istio.enabled")) "true" -}}
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
Expand Down
2 changes: 1 addition & 1 deletion charts/extension-manager-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: extension-manager-operator
description: A Helm chart for extension-manager-operator which manages resources like ContentConfigurations and exposes REST `/validate` endpoint
type: application
version: 0.22.85
version: 0.22.86
appVersion: "0.103.0"
dependencies:
- name: extension-manager-operator-crds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ spec:
image: {{ .Values.image.name }}:{{ .Chart.AppVersion }}
imagePullPolicy: {{ include "common.imagePullPolicy" . }}
name: server
{{- include "common.container.securityContext" . | nindent 10 }}
ports:
- containerPort: {{ .Values.validationServer.port }}
{{- include "common.PortsMetricsHealth" . | nindent 10 -}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if eq (include "common.getNestedValue" (dict "Values" .Values "key" "istio.enabled")) "true" -}}
{{- if eq (include "common.getKeyValue" (dict "Values" .Values "key" "istio.enabled")) "true" -}}
{{- if .Values.validationServer.enabled }}
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
Expand Down
2 changes: 1 addition & 1 deletion charts/keycloak/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: keycloak
description: A Helm chart to deploy keycloak as OIDC provider in openmfp

type: application
version: 0.60.13
version: 0.60.14
appVersion: "1.16.0"

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion charts/keycloak/templates/istio-virtualservice.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if eq (include "common.getNestedValue" (dict "Values" .Values "key" "istio.enabled")) "true" -}}
{{- if eq (include "common.getKeyValue" (dict "Values" .Values "key" "istio.enabled")) "true" -}}
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
Expand Down
7 changes: 7 additions & 0 deletions local-setup/kustomize/components/openmfp/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ spec:
gateway:
name: gateway
components:
infra:
enabled: true
example-content:
enabled: true
portal:
enabled: true
extension-manager-operator:
validationServer:
enabled: true
example-content:
istio:
enabled: true
Expand Down
Loading