Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c31eb91

Browse files
committedMay 18, 2023
fix omejdn chart
1 parent 37cea9b commit c31eb91

File tree

1 file changed

+21
-21
lines changed
  • edc-tests/deployment/src/main/resources/helm/omejdn/templates

1 file changed

+21
-21
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# Copyright (c) 2023 Contributors to the Eclipse Foundation
2-
#
3-
# See the NOTICE file(s) distributed with this work for additional
4-
# information regarding copyright ownership.
5-
#
6-
# This program and the accompanying materials are made available under the
7-
# terms of the Apache License, Version 2.0 which is available at
8-
# https://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13-
# License for the specific language governing permissions and limitations
14-
# under the License.
15-
#
16-
# SPDX-License-Identifier: Apache-2.0
17-
#
2+
#
3+
# See the NOTICE file(s) distributed with this work for additional
4+
# information regarding copyright ownership.
5+
#
6+
# This program and the accompanying materials are made available under the
7+
# terms of the Apache License, Version 2.0 which is available at
8+
# https://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
# License for the specific language governing permissions and limitations
14+
# under the License.
15+
#
16+
# SPDX-License-Identifier: Apache-2.0
17+
#
1818

19-
{{- if .Values.runtime.autoscaling.enabled }}
19+
{{- if .Values.autoscaling.enabled }}
2020
---
2121
apiVersion: autoscaling/v2beta1
2222
kind: HorizontalPodAutoscaler
@@ -32,16 +32,16 @@ spec:
3232
minReplicas: {{ .Values.autoscaling.minReplicas }}
3333
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
3434
metrics:
35-
{{- if .Values.runtime.autoscaling.targetCPUUtilizationPercentage }}
35+
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
3636
- type: Resource
3737
resource:
3838
name: cpu
39-
targetAverageUtilization: {{ .Values.runtime.autoscaling.targetCPUUtilizationPercentage }}
39+
targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
4040
{{- end }}
41-
{{- if .Values.runtime.autoscaling.targetMemoryUtilizationPercentage }}
41+
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
4242
- type: Resource
4343
resource:
4444
name: memory
45-
targetAverageUtilization: {{ .Values.runtime.autoscaling.targetMemoryUtilizationPercentage }}
45+
targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
4646
{{- end }}
4747
{{- end }}

0 commit comments

Comments
 (0)
Please sign in to comment.