Skip to content

Commit

Permalink
Chart to v2; Pull image IfNotPresent; Default to AppVersion image
Browse files Browse the repository at this point in the history
  • Loading branch information
naterator committed Jul 9, 2024
1 parent 17bea0f commit a70c760
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
12 changes: 4 additions & 8 deletions xfinity-data-usage/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
apiVersion: v1
apiVersion: v2
name: xfinity-data-usage
version: 1.0.1
type: application
version: 1.26.0
appVersion: "v0.26.0"
description: Fetch Xfinity data usage and serve it via an HTTP endpoint, publish it to MQTT or post it to an URL.
keywords:
- xfinity
- homeassistant
home: https://github.com/zachowj/xfinity-data-usage
sources:
- https://github.com/naterator/helm-charts/tree/main/xfinity-data-usage
2 changes: 1 addition & 1 deletion xfinity-data-usage/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default "latest" }}"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
Expand Down
4 changes: 2 additions & 2 deletions xfinity-data-usage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ replicaCount: 1

image:
repository: docker.io/zachowj/xfinity-data-usage
pullPolicy: Always
tag: "latest"
pullPolicy: IfNotPresent
tag: ""

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit a70c760

Please sign in to comment.