Skip to content

Commit

Permalink
Backport goldpinger changes
Browse files Browse the repository at this point in the history
  • Loading branch information
banjoh committed Dec 14, 2023
1 parent fcf3a78 commit 1e37c28
Show file tree
Hide file tree
Showing 24 changed files with 72 additions and 10 deletions.
8 changes: 7 additions & 1 deletion addons/goldpinger/3.2.0-4.1.1/goldpinger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ spec:
app.kubernetes.io/name: goldpinger
app.kubernetes.io/instance: goldpinger
spec:
priorityClassName:
priorityClassName:
serviceAccountName: goldpinger
containers:
- name: goldpinger-daemon
Expand All @@ -107,6 +107,12 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: PING_TIMEOUT_MS
value: 2000
- name: CHECK_TIMEOUT_MS
value: 3000
- name: CHECK_ALL_TIMEOUT_MS
value: 10000
ports:
- name: http
containerPort: 80
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.2.0-4.1.1/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function goldpinger() {
cp "$src/kustomization.yaml" "$dst/"
cp "$src/goldpinger.yaml" "$dst/"
cp "$src/servicemonitor.yaml" "$dst/"
cp "$src/troubleshoot.yaml" "$dst/"

if [ -n "${PROMETHEUS_VERSION}" ]; then
insert_resources "$dst/kustomization.yaml" servicemonitor.yaml
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.2.0-4.1.1/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ namespace: kurl

resources:
- goldpinger.yaml
- troubleshoot.yaml
8 changes: 7 additions & 1 deletion addons/goldpinger/3.2.0-4.2.1/goldpinger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ spec:
app.kubernetes.io/name: goldpinger
app.kubernetes.io/instance: goldpinger
spec:
priorityClassName:
priorityClassName:
serviceAccountName: goldpinger
containers:
- name: goldpinger-daemon
Expand All @@ -107,6 +107,12 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: PING_TIMEOUT_MS
value: 2000
- name: CHECK_TIMEOUT_MS
value: 3000
- name: CHECK_ALL_TIMEOUT_MS
value: 10000
ports:
- name: http
containerPort: 80
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.2.0-4.2.1/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function goldpinger() {
cp "$src/kustomization.yaml" "$dst/"
cp "$src/goldpinger.yaml" "$dst/"
cp "$src/servicemonitor.yaml" "$dst/"
cp "$src/troubleshoot.yaml" "$dst/"

if [ -n "${PROMETHEUS_VERSION}" ]; then
insert_resources "$dst/kustomization.yaml" servicemonitor.yaml
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.2.0-4.2.1/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ namespace: kurl

resources:
- goldpinger.yaml
- troubleshoot.yaml
8 changes: 7 additions & 1 deletion addons/goldpinger/3.2.0-5.0.0/goldpinger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
app.kubernetes.io/name: goldpinger
app.kubernetes.io/instance: goldpinger
spec:
priorityClassName:
priorityClassName:
serviceAccountName: goldpinger
containers:
- name: goldpinger-daemon
Expand All @@ -112,6 +112,12 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: PING_TIMEOUT_MS
value: 2000
- name: CHECK_TIMEOUT_MS
value: 3000
- name: CHECK_ALL_TIMEOUT_MS
value: 10000
ports:
- name: http
containerPort: 80
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.2.0-5.0.0/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function goldpinger() {
cp "$src/kustomization.yaml" "$dst/"
cp "$src/goldpinger.yaml" "$dst/"
cp "$src/servicemonitor.yaml" "$dst/"
cp "$src/troubleshoot.yaml" "$dst/"

if [ -n "${PROMETHEUS_VERSION}" ]; then
insert_resources "$dst/kustomization.yaml" servicemonitor.yaml
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.2.0-5.0.0/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ namespace: kurl

resources:
- goldpinger.yaml
- troubleshoot.yaml
8 changes: 7 additions & 1 deletion addons/goldpinger/3.3.0-5.1.0/goldpinger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
app.kubernetes.io/name: goldpinger
app.kubernetes.io/instance: goldpinger
spec:
priorityClassName:
priorityClassName:
serviceAccountName: goldpinger
containers:
- name: goldpinger-daemon
Expand All @@ -112,6 +112,12 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: PING_TIMEOUT_MS
value: 2000
- name: CHECK_TIMEOUT_MS
value: 3000
- name: CHECK_ALL_TIMEOUT_MS
value: 10000
ports:
- name: http
containerPort: 80
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.3.0-5.1.0/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function goldpinger() {
cp "$src/kustomization.yaml" "$dst/"
cp "$src/goldpinger.yaml" "$dst/"
cp "$src/servicemonitor.yaml" "$dst/"
cp "$src/troubleshoot.yaml" "$dst/"

if [ -n "${PROMETHEUS_VERSION}" ]; then
insert_resources "$dst/kustomization.yaml" servicemonitor.yaml
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.3.0-5.1.0/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ namespace: kurl

resources:
- goldpinger.yaml
- troubleshoot.yaml
8 changes: 7 additions & 1 deletion addons/goldpinger/3.5.1-5.2.0/goldpinger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
app.kubernetes.io/name: goldpinger
app.kubernetes.io/instance: goldpinger
spec:
priorityClassName:
priorityClassName:
serviceAccountName: goldpinger
containers:
- name: goldpinger-daemon
Expand All @@ -112,6 +112,12 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: PING_TIMEOUT_MS
value: 2000
- name: CHECK_TIMEOUT_MS
value: 3000
- name: CHECK_ALL_TIMEOUT_MS
value: 10000
ports:
- name: http
containerPort: 80
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.5.1-5.2.0/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function goldpinger() {
cp "$src/kustomization.yaml" "$dst/"
cp "$src/goldpinger.yaml" "$dst/"
cp "$src/servicemonitor.yaml" "$dst/"
cp "$src/troubleshoot.yaml" "$dst/"

if [ -n "${PROMETHEUS_VERSION}" ]; then
insert_resources "$dst/kustomization.yaml" servicemonitor.yaml
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.5.1-5.2.0/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ namespace: kurl

resources:
- goldpinger.yaml
- troubleshoot.yaml
8 changes: 7 additions & 1 deletion addons/goldpinger/3.6.1-5.4.2/goldpinger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ spec:
app.kubernetes.io/name: goldpinger
app.kubernetes.io/instance: goldpinger
spec:
priorityClassName:
priorityClassName:
serviceAccountName: goldpinger
containers:
- name: goldpinger-daemon
Expand All @@ -112,6 +112,12 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: PING_TIMEOUT
value: 2s
- name: CHECK_TIMEOUT
value: 3s
- name: CHECK_ALL_TIMEOUT
value: 10s
ports:
- name: http
containerPort: 80
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.6.1-5.4.2/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function goldpinger() {
cp "$src/kustomization.yaml" "$dst/"
cp "$src/goldpinger.yaml" "$dst/"
cp "$src/servicemonitor.yaml" "$dst/"
cp "$src/troubleshoot.yaml" "$dst/"

if [ -n "${PROMETHEUS_VERSION}" ]; then
insert_resources "$dst/kustomization.yaml" servicemonitor.yaml
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.6.1-5.4.2/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ namespace: kurl

resources:
- goldpinger.yaml
- troubleshoot.yaml
9 changes: 7 additions & 2 deletions addons/goldpinger/3.7.0-5.5.0/goldpinger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ spec:
app.kubernetes.io/name: goldpinger
app.kubernetes.io/instance: goldpinger
spec:
priorityClassName:
priorityClassName:
serviceAccountName: goldpinger
containers:
- name: goldpinger-daemon
Expand All @@ -125,11 +125,16 @@ spec:
value: "80"
- name: LABEL_SELECTOR
value: "app.kubernetes.io/name=goldpinger"

- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: PING_TIMEOUT
value: 2s
- name: CHECK_TIMEOUT
value: 3s
- name: CHECK_ALL_TIMEOUT
value: 10s
ports:
- name: http
containerPort: 80
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.7.0-5.5.0/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function goldpinger() {
cp "$src/kustomization.yaml" "$dst/"
cp "$src/goldpinger.yaml" "$dst/"
cp "$src/servicemonitor.yaml" "$dst/"
cp "$src/troubleshoot.yaml" "$dst/"

if [ -n "${PROMETHEUS_VERSION}" ]; then
insert_resources "$dst/kustomization.yaml" servicemonitor.yaml
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.7.0-5.5.0/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ namespace: kurl

resources:
- goldpinger.yaml
- troubleshoot.yaml
9 changes: 7 additions & 2 deletions addons/goldpinger/3.7.0-5.6.0/goldpinger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ spec:
app.kubernetes.io/name: goldpinger
app.kubernetes.io/instance: goldpinger
spec:
priorityClassName:
priorityClassName:
serviceAccountName: goldpinger
containers:
- name: goldpinger-daemon
Expand All @@ -125,11 +125,16 @@ spec:
value: "80"
- name: LABEL_SELECTOR
value: "app.kubernetes.io/name=goldpinger"

- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
- name: PING_TIMEOUT
value: 2s
- name: CHECK_TIMEOUT
value: 3s
- name: CHECK_ALL_TIMEOUT
value: 10s
ports:
- name: http
containerPort: 80
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.7.0-5.6.0/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function goldpinger() {
cp "$src/kustomization.yaml" "$dst/"
cp "$src/goldpinger.yaml" "$dst/"
cp "$src/servicemonitor.yaml" "$dst/"
cp "$src/troubleshoot.yaml" "$dst/"

if [ -n "${PROMETHEUS_VERSION}" ]; then
insert_resources "$dst/kustomization.yaml" servicemonitor.yaml
Expand Down
1 change: 1 addition & 0 deletions addons/goldpinger/3.7.0-5.6.0/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ namespace: kurl

resources:
- goldpinger.yaml
- troubleshoot.yaml

0 comments on commit 1e37c28

Please sign in to comment.