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

Commit

Permalink
fix(examples): use annotations instead of labels on kubernetes seed pods
Browse files Browse the repository at this point in the history
  • Loading branch information
tothandras committed Jan 19, 2024
1 parent 5cec638 commit 4f45240
Showing 1 changed file with 15 additions and 15 deletions.
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

0 comments on commit 4f45240

Please sign in to comment.