Skip to content

Commit

Permalink
ipi-install-loki: set a single version for all components
Browse files Browse the repository at this point in the history
  • Loading branch information
vrutkovs committed Sep 15, 2020
1 parent bab9bc7 commit 6280a45
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -o nounset
set -o errexit
set -o pipefail

export LOKI_VERSION="1.3.0"

cat >> "${SHARED_DIR}/manifest_loki-ns.yml" << EOF
apiVersion: v1
kind: Namespace
Expand Down Expand Up @@ -158,7 +160,7 @@ metadata:
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
app.kubernetes.io/part-of: loki
app.kubernetes.io/version: 1.3.0
app.kubernetes.io/version: ${LOKI_VERSION}
name: loki
namespace: loki
spec:
Expand Down Expand Up @@ -207,12 +209,12 @@ spec:
app.kubernetes.io/instance: loki
app.kubernetes.io/name: loki
app.kubernetes.io/part-of: loki
app.kubernetes.io/version: 1.3.0
app.kubernetes.io/version: ${LOKI_VERSION}
spec:
containers:
- args:
- "-config.file=/etc/loki/loki.yaml"
image: grafana/loki:v1.3.0
image: grafana/loki:v${LOKI_VERSION}
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down Expand Up @@ -583,7 +585,7 @@ spec:
app.kubernetes.io/instance: loki-promtail
app.kubernetes.io/name: promtail
app.kubernetes.io/part-of: loki
app.kubernetes.io/version: 1.3.0
app.kubernetes.io/version: ${LOKI_VERSION}
spec:
containers:
- args:
Expand All @@ -593,7 +595,7 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: grafana/promtail:v1.3.0
image: grafana/promtail:v${LOKI_VERSION}
imagePullPolicy: IfNotPresent
name: promtail
ports:
Expand Down

0 comments on commit 6280a45

Please sign in to comment.