diff options
Diffstat (limited to 'kubernetes/sdc/charts')
-rw-r--r-- | kubernetes/sdc/charts/sdc-be/templates/deployment.yaml | 8 | ||||
-rw-r--r-- | kubernetes/sdc/charts/sdc-be/values.yaml | 8 | ||||
-rw-r--r-- | kubernetes/sdc/charts/sdc-cs/values.yaml | 6 | ||||
-rw-r--r-- | kubernetes/sdc/charts/sdc-es/values.yaml | 4 | ||||
-rw-r--r-- | kubernetes/sdc/charts/sdc-fe/values.yaml | 4 | ||||
-rw-r--r-- | kubernetes/sdc/charts/sdc-kb/values.yaml | 2 | ||||
-rw-r--r-- | kubernetes/sdc/charts/sdc-onboarding-be/values.yaml | 4 | ||||
-rw-r--r-- | kubernetes/sdc/charts/sdc-wfd-be/values.yaml | 4 | ||||
-rw-r--r-- | kubernetes/sdc/charts/sdc-wfd-fe/templates/ingress.yaml | 34 | ||||
-rw-r--r-- | kubernetes/sdc/charts/sdc-wfd-fe/values.yaml | 5 |
10 files changed, 52 insertions, 27 deletions
diff --git a/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml b/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml index 063e2d868f..2d47f4b588 100644 --- a/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml +++ b/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml @@ -69,11 +69,12 @@ spec: - containerPort: {{ .Values.service.internalPort2 }} {{ if eq .Values.liveness.enabled true }} livenessProbe: - exec: - command: - - "/var/lib/ready-probe.sh" + httpGet: + path: /sdc2/rest/version + port: {{ .Values.service.internalPort2 }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} + timeoutSeconds: {{ .Values.liveness.timeoutSeconds }} {{ end }} readinessProbe: exec: @@ -81,6 +82,7 @@ spec: - "/var/lib/ready-probe.sh" initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} + timeoutSeconds: {{ .Values.readiness.timeoutSeconds }} resources: {{ include "common.resources" . | indent 12 }} env: diff --git a/kubernetes/sdc/charts/sdc-be/values.yaml b/kubernetes/sdc/charts/sdc-be/values.yaml index fcf5283c07..3363700f8e 100644 --- a/kubernetes/sdc/charts/sdc-be/values.yaml +++ b/kubernetes/sdc/charts/sdc-be/values.yaml @@ -28,8 +28,8 @@ global: ################################################################# # application image repository: nexus3.onap.org:10001 -image: onap/sdc-backend:1.4.0 -backendInitImage: onap/sdc-backend-init:1.4.0 +image: onap/sdc-backend:1.4.1 +backendInitImage: onap/sdc-backend-init:1.4.1 pullPolicy: Always # flag to enable debugging - application support required @@ -48,8 +48,9 @@ affinity: {} # probe configuration parameters liveness: - initialDelaySeconds: 60 + initialDelaySeconds: 120 periodSeconds: 10 + timeoutSeconds: 5 # necessary to disable liveness probe when setting breakpoints # in debugger so K8s doesn't restart unresponsive container enabled: true @@ -57,6 +58,7 @@ liveness: readiness: initialDelaySeconds: 60 periodSeconds: 10 + timeoutSeconds: 5 service: type: NodePort diff --git a/kubernetes/sdc/charts/sdc-cs/values.yaml b/kubernetes/sdc/charts/sdc-cs/values.yaml index 64f964681d..bf909ad9e9 100644 --- a/kubernetes/sdc/charts/sdc-cs/values.yaml +++ b/kubernetes/sdc/charts/sdc-cs/values.yaml @@ -28,8 +28,8 @@ global: ################################################################# # application image repository: nexus3.onap.org:10001 -image: onap/sdc-cassandra:1.4.0 -cassandraInitImage: onap/sdc-cassandra-init:1.4.0 +image: onap/sdc-cassandra:1.4.1 +cassandraInitImage: onap/sdc-cassandra-init:1.4.1 pullPolicy: Always @@ -54,7 +54,7 @@ liveness: enabled: true readiness: - initialDelaySeconds: 60 + initialDelaySeconds: 120 periodSeconds: 10 service: diff --git a/kubernetes/sdc/charts/sdc-es/values.yaml b/kubernetes/sdc/charts/sdc-es/values.yaml index a84f738583..25d75b7aea 100644 --- a/kubernetes/sdc/charts/sdc-es/values.yaml +++ b/kubernetes/sdc/charts/sdc-es/values.yaml @@ -31,8 +31,8 @@ global: ################################################################# # application image repository: nexus3.onap.org:10001 -image: onap/sdc-elasticsearch:1.4.0 -elasticInitImage: onap/sdc-init-elasticsearch:1.4.0 +image: onap/sdc-elasticsearch:1.4.1 +elasticInitImage: onap/sdc-init-elasticsearch:1.4.1 pullPolicy: Always # flag to enable debugging - application support required diff --git a/kubernetes/sdc/charts/sdc-fe/values.yaml b/kubernetes/sdc/charts/sdc-fe/values.yaml index e95223bf43..36607c7b06 100644 --- a/kubernetes/sdc/charts/sdc-fe/values.yaml +++ b/kubernetes/sdc/charts/sdc-fe/values.yaml @@ -28,7 +28,7 @@ global: ################################################################# # application image repository: nexus3.onap.org:10001 -image: onap/sdc-frontend:1.4.0 +image: onap/sdc-frontend:1.4.1 pullPolicy: Always config: @@ -39,7 +39,7 @@ config: dcae_dt_discovery_url: "http://sdc-dcae-dt:8186/dcae/#/dcae/home" dcae_dt_source_url: "http://sdc.dcae.plugin.simpledemo.onap.org:30265/dcae/#/dcae/home" workflow_discovery_url: "http://sdc-wfd-fe:8080/workflows" - workflow_source_url: "http://sdc.workflow.plugin.simpledemo.onap.org:30256/workflows/" + workflow_source_url: "https://sdc.workflow.plugin.simpledemo.onap.org:30431/workflows/" # default number of instances replicaCount: 1 diff --git a/kubernetes/sdc/charts/sdc-kb/values.yaml b/kubernetes/sdc/charts/sdc-kb/values.yaml index 21b0b05ff6..64ab496647 100644 --- a/kubernetes/sdc/charts/sdc-kb/values.yaml +++ b/kubernetes/sdc/charts/sdc-kb/values.yaml @@ -28,7 +28,7 @@ global: ################################################################# # application image repository: nexus3.onap.org:10001 -image: onap/sdc-kibana:1.4.0 +image: onap/sdc-kibana:1.4.1 pullPolicy: Always config: diff --git a/kubernetes/sdc/charts/sdc-onboarding-be/values.yaml b/kubernetes/sdc/charts/sdc-onboarding-be/values.yaml index 2b7edd97ed..2a6918dfb4 100644 --- a/kubernetes/sdc/charts/sdc-onboarding-be/values.yaml +++ b/kubernetes/sdc/charts/sdc-onboarding-be/values.yaml @@ -28,8 +28,8 @@ global: ################################################################# # application image repository: nexus3.onap.org:10001 -image: onap/sdc-onboard-backend:1.4.0 -onboardingInitImage: onap/sdc-onboard-cassandra-init:1.4.0 +image: onap/sdc-onboard-backend:1.4.1 +onboardingInitImage: onap/sdc-onboard-cassandra-init:1.4.1 pullPolicy: Always # flag to enable debugging - application support required diff --git a/kubernetes/sdc/charts/sdc-wfd-be/values.yaml b/kubernetes/sdc/charts/sdc-wfd-be/values.yaml index 8859b89018..73eea4af7e 100644 --- a/kubernetes/sdc/charts/sdc-wfd-be/values.yaml +++ b/kubernetes/sdc/charts/sdc-wfd-be/values.yaml @@ -28,8 +28,8 @@ global: ################################################################# # application image repository: nexus3.onap.org:10001 -image: onap/workflow-backend:1.4.0 -configInitImage: onap/workflow-init:1.4.0 +image: onap/workflow-backend:1.4.1 +configInitImage: onap/workflow-init:1.4.1 pullPolicy: Always # flag to enable debugging - application support required diff --git a/kubernetes/sdc/charts/sdc-wfd-fe/templates/ingress.yaml b/kubernetes/sdc/charts/sdc-wfd-fe/templates/ingress.yaml index d051eafead..e10de6df20 100644 --- a/kubernetes/sdc/charts/sdc-wfd-fe/templates/ingress.yaml +++ b/kubernetes/sdc/charts/sdc-wfd-fe/templates/ingress.yaml @@ -12,7 +12,17 @@ # See the License for the specific language governing permissions and # limitations under the License. +{{- define "rules.wf" -}} +- http: + paths: + - path: /workflows/ + backend: + serviceName: {{.Values.service.name}} + servicePort: {{.Values.service.internalPort}} +{{- end -}} + {{- if .Values.ingress.enabled }} + apiVersion: extensions/v1beta1 kind: Ingress metadata: @@ -29,11 +39,21 @@ metadata: {{- end }} spec: rules: - - http: - paths: - - path: /workflows/ - backend: - serviceName: {{.Values.service.name}} - servicePort: {{.Values.service.internalPort}} +{{- if .Values.ingress.hosts}} +{{- range .Values.ingress.hosts}} +{{- include "rules.wf" $ | nindent 2}} +{{- if .}} + host: {{. | quote}} +{{- end}} +{{- end}} + tls: + - hosts: +{{- range .Values.ingress.hosts}} +{{- if .}} + - {{ . | quote }} +{{- end}} +{{- end }} +{{- else}} +{{- include "rules.wf" . | nindent 2}} +{{- end}} {{ end }} - diff --git a/kubernetes/sdc/charts/sdc-wfd-fe/values.yaml b/kubernetes/sdc/charts/sdc-wfd-fe/values.yaml index a217de5e4b..639c811b08 100644 --- a/kubernetes/sdc/charts/sdc-wfd-fe/values.yaml +++ b/kubernetes/sdc/charts/sdc-wfd-fe/values.yaml @@ -28,7 +28,7 @@ global: ################################################################# # application image repository: nexus3.onap.org:10001 -image: onap/workflow-frontend:1.4.0 +image: onap/workflow-frontend:1.4.1 pullPolicy: Always # flag to enable debugging - application support required @@ -37,7 +37,7 @@ debugEnabled: false config: javaOptions: "-Xdebug -agentlib:jdwp=transport=dt_socket,address=7000,server=y,suspend=n -Xmx256m -Xms256m" backendServerURL: "http://sdc-wfd-be:8080" - isHttpsEnabled: false + isHttpsEnabled: true # https relevant settings. Change in case you have other trust files then default ones. security: @@ -80,6 +80,7 @@ service: ingress: enabled: false + hosts: ~ annotations: ingress.kubernetes.io/secure-backends: "false" nginx.ingress.kubernetes.io/secure-backends: "false" |