Skip to content

Commit 7b44af1

Browse files
authored
Merge pull request #379 from junior/virtual_nodes
OKE Virtual nodes Support for MuShop Chart
2 parents 085b379 + 796269f commit 7b44af1

38 files changed

+130
-46
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
2-
appVersion: "1.0"
2+
appVersion: "2.0"
33
description: MuShop App microservices chart
44
name: mushop
5-
version: 0.1.2
5+
version: 0.2.1
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
22
name: api
3-
appVersion: 0.1.0
4-
version: 0.1.0
3+
appVersion: 2.3.2
4+
version: 0.2.0
55
description: Helm chart for API component of the MuShop

deploy/complete/helm-chart/mushop/charts/api/templates/api-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,7 @@ spec:
5757
port: http
5858
resources:
5959
{{- toYaml .Values.resources | nindent 12 }}
60+
{{- if not .Values.global.okeVirtualNodesSupport }}
6061
securityContext:
6162
{{- toYaml .Values.securityContext | nindent 12 }}
63+
{{- end }}

deploy/complete/helm-chart/mushop/charts/api/templates/api-hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- if .Values.hpa.enabled }}
2-
apiVersion: autoscaling/v2beta2
2+
apiVersion: autoscaling/v2
33
kind: HorizontalPodAutoscaler
44
metadata:
55
name: {{ include "api.fullname" . }}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
22
name: assets
3-
appVersion: 0.1.0
4-
version: 0.1.0
3+
appVersion: 1.1.3
4+
version: 0.2.0
55
description: Helm chart for media assets component of MuShop

deploy/complete/helm-chart/mushop/charts/assets/templates/assets-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,7 @@ spec:
3838
port: http
3939
resources:
4040
{{- toYaml .Values.resources | nindent 12 }}
41+
{{- if not .Values.global.okeVirtualNodesSupport }}
4142
securityContext:
4243
{{- toYaml .Values.securityContext | nindent 12 }}
44+
{{- end }}

deploy/complete/helm-chart/mushop/charts/assets/templates/assets-hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- if .Values.hpa.enabled }}
2-
apiVersion: autoscaling/v2beta2
2+
apiVersion: autoscaling/v2
33
kind: HorizontalPodAutoscaler
44
metadata:
55
name: {{ include "assets.fullname" . }}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
22
name: carts
3-
appVersion: 0.1.0
4-
version: 0.1.0
3+
appVersion: 1.5.0
4+
version: 0.1.1
55
description: Helm chart for carts component of the MuShop

deploy/complete/helm-chart/mushop/charts/carts/templates/_helpers.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
137137
- name: wallet
138138
secret:
139139
secretName: {{ $wallet }}
140+
{{- if ne .Values.global.mock.service "all" }}
140141
defaultMode: 256
141142
{{- end }}
143+
{{- end }}
142144
# service init configMap
143145
- name: initdb
144146
configMap:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
22
name: catalogue
3-
appVersion: 0.1.0
4-
version: 0.1.0
3+
appVersion: 1.4.0
4+
version: 0.2.0
55
description: Helm chart for catalogue component of the MuShop

0 commit comments

Comments
 (0)