Add template support for pod labels and annotations 88/10788/2 2.0.1
authorJoshua Kraitberg <joshua.kraitberg@windriver.com>
Mon, 27 Mar 2023 19:39:22 +0000 (15:39 -0400)
committerJoshua Kraitberg <joshua.kraitberg@windriver.com>
Tue, 28 Mar 2023 13:44:15 +0000 (13:44 +0000)
commit34244dc4e31185ce2bb20c2a611b75edee39b2c1
tree72930102d233a90006fb2b79401f819bbf59cf79
parent57473cc992caf8f236ae19d3f937b234ff748f39
Add template support for pod labels and annotations

Pod labels on the deployment are required for
integration in StarlingX.

TEST PLAN
PASS: Chart can be deployed with new values present
1. Create test-values.yaml with podAnnotations/podLabels filled
e.g.
```yaml
---
podLabels:
  app.starlingx.io/component: platform
```
2. cd into charts directory
3. Run: helm install --create-namespace -n oran-o2 \
          -f values.yaml -f test-values.yaml oran-o2 .
4. Confirm workload pods contain the annotation/labels in test-values

Issue-ID: INF-395
Signed-off-by: Joshua Kraitberg <joshua.kraitberg@windriver.com>
Change-Id: Ib3e44eb7e0f1ab707f50615be30d16e33b0c8af8
charts/templates/deployment.yaml
charts/values.yaml