Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

fix(examples): use annotations instead of labels on kubernetes seed pods #36

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions examples/kubernetes-pod-exec-time/seed/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: Pod
metadata:
name: pod-1
labels:
annotations:
openmeter.io/subject: customer-1
data.openmeter.io/customer_group: platinum
spec:
Expand All @@ -16,9 +16,9 @@ apiVersion: v1
kind: Pod
metadata:
name: pod-2
labels:
openmeter.io/subject: customer-2
data.openmeter.io/customer_group: gold
annotations:
openmeter.io/subject: customer-1
data.openmeter.io/customer_group: platinum
spec:
containers:
- name: busybox
Expand All @@ -30,9 +30,9 @@ apiVersion: v1
kind: Pod
metadata:
name: pod-3
labels:
openmeter.io/subject: customer-3
data.openmeter.io/customer_group: platinum
annotations:
openmeter.io/subject: customer-2
data.openmeter.io/customer_group: gold
spec:
containers:
- name: busybox
Expand All @@ -44,9 +44,9 @@ apiVersion: v1
kind: Pod
metadata:
name: pod-4
labels:
openmeter.io/subject: customer-4
data.openmeter.io/customer_group: platinum
annotations:
openmeter.io/subject: customer-3
data.openmeter.io/customer_group: gold
spec:
containers:
- name: busybox
Expand All @@ -58,8 +58,8 @@ apiVersion: v1
kind: Pod
metadata:
name: pod-5
labels:
openmeter.io/subject: customer-5
annotations:
openmeter.io/subject: customer-3
data.openmeter.io/customer_group: gold
spec:
containers:
Expand All @@ -72,9 +72,9 @@ apiVersion: v1
kind: Pod
metadata:
name: pod-6
labels:
openmeter.io/subject: customer-6
data.openmeter.io/customer_group: platinum
annotations:
openmeter.io/subject: customer-3
data.openmeter.io/customer_group: gold
spec:
containers:
- name: busybox
Expand Down