Skip to content

Commit

Permalink
Post v4 reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
artyom-p committed Dec 1, 2023
1 parent 828549f commit 11f60da
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 30 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,13 @@ jobs:
echo "dockerfile=$DOCKERFILE" >> $GITHUB_OUTPUT
-
name: Build Docker image
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
#! env:
#! cache_image: '${{ steps.info.outputs.image_name }}:cache'
with:
#cache-from: 'type=registry,ref=${{ env.cache_image }}'
#cache-to: 'type=registry,mode=max,ref=${{ env.cache_image }}'
allow: 'network.host'
push: true
context: ${{ fromJson(inputs.settings).build.docker.context }}
file: ${{ steps.info.outputs.dockerfile }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release-gks-template-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
token: ${{ secrets.GKS_GH_ACCESS_TOKEN }}
-
name: Set up Helm
uses: Geta/gks/actions/setup-helm@actions/v1
Expand Down
Binary file added assets/icons/plussagenturer.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/soleliten.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/sundolitt.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/wj.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions charts/gks-template/templates/_deployment.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
{{- end }}
selector:
matchLabels:
{{- include "gks.shared.selectorLabels" . | nindent 6 }}
Expand Down
26 changes: 0 additions & 26 deletions charts/gks-template/templates/_hpa.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,5 @@
*/ -}}
{{- define "gks.shared.hpa" -}}
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
name: {{ include "gks.shared.fullname" . }}
labels:
{{- include "gks.shared.labels" . | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ include "gks.shared.fullname" . }}
minReplicas: {{ .Values.autoscaling.minReplicas }}
maxReplicas: {{ .Values.autoscaling.maxReplicas }}
metrics:
{{- if .Values.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }}
{{- end }}
{{- if .Values.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}
{{- end }}

0 comments on commit 11f60da

Please sign in to comment.