Skip to content

Commit

Permalink
Merge branch 'master' into vpa-support
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z authored Jul 6, 2023
2 parents 9faf3ad + 11076d2 commit 1ec1725
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 9 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,15 @@

All notable changes to this project will be documented here.

### v2.1.14
### v2.1.16
- feat: Add vertical pod autoscaler template [PR-249](https://github.com/stakater/application/pull/249)

### v2.1.15
- fix: allow setting arbitrary resource constraints [PR-255](https://github.com/stakater/application/pull/255)

### v2.1.14
- feat: allow overriding clusterIP [PR-258](https://github.com/stakater/application/pull/258)

### v2.1.13
- Fix: make deployment.image.tag and job.image.tag optional [PR-234](https://github.com/stakater/application/pull/234)

Expand Down
6 changes: 6 additions & 0 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ imc_namespace = "stakater-ingress-monitor-controller"
namespace_create(imc_namespace)
helm_resource('imc', 'oci://ghcr.io/stakater/charts/ingress-monitor-controller', namespace=imc_namespace,flags=['--set','developmentMode=true'])

# Install IMC Config
local_resource(
'imc-config',
cmd='helm upgrade --install ingress-monitor-controller-config -n {} oci://ghcr.io/stakater/charts/ingress-monitor-controller-config --set developmentMode=true'.format(imc_namespace)
)

# Install Forecastle
forecastle_namespace = "stakater-forecastle"
namespace_create(forecastle_namespace)
Expand Down
2 changes: 1 addition & 1 deletion application/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type: application

# Helm chart Version

version: 2.1.13
version: 2.1.15


keywords:
Expand Down
9 changes: 3 additions & 6 deletions application/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,10 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- with .Values.deployment.resources }}
resources:
limits:
memory: {{ .Values.deployment.resources.limits.memory }}
cpu: {{ .Values.deployment.resources.limits.cpu }}
requests:
memory: {{ .Values.deployment.resources.requests.memory }}
cpu: {{ .Values.deployment.resources.requests.cpu }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- if .Values.deployment.containerSecurityContext }}
securityContext:
{{ toYaml .Values.deployment.containerSecurityContext | indent 10 }}
Expand Down
5 changes: 4 additions & 1 deletion application/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ metadata:
spec:
{{- if .Values.service.type }}
type: "{{ .Values.service.type }}"
{{- end }}
{{- with .Values.service.clusterIP }}
clusterIP: {{ . }}
{{- end }}
selector:
{{ include "application.selectorLabels" . | indent 4 }}
Expand All @@ -35,4 +38,4 @@ spec:
{{- else }}
{{ toYaml .Values.service.ports | indent 4 }}
{{- end }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions application/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,9 @@ service:
targetPort: 8080
type: ClusterIP

# Set to 'None' will make this service headless
clusterIP:

##########################################################
# Ingress object for exposing services
##########################################################
Expand Down

0 comments on commit 1ec1725

Please sign in to comment.