Skip to content

Commit

Permalink
docs: fix missing registry and selector from example podtatohead (kep…
Browse files Browse the repository at this point in the history
…tn#3321)

Signed-off-by: RealAnna <anna.reale@dynatrace.com>
  • Loading branch information
RealAnna committed Mar 21, 2024
1 parent e0cac27 commit c0c4fb4
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions docs/docs/guides/assets/auto-app-discovery/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ metadata:
name: podtato-head-frontend
namespace: podtato-kubectl
spec:
selector:
matchLabels:
app: podtato-head-frontend
template:
metadata:
labels:
Expand All @@ -20,15 +23,21 @@ spec:
app.kubernetes.io/version: 0.1.0
spec:
containers:
- name: podtato-head-frontend
image: podtato-head-frontend
- env:
- name: PODTATO_COMPONENT
value: frontend
name: podtato-head-frontend
image: ghcr.io/podtato-head/podtato-server:v0.3.1
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: podtato-head-hat
namespace: podtato-kubectl
spec:
selector:
matchLabels:
app: podtato-head-hat
replicas: 1
template:
metadata:
Expand All @@ -38,5 +47,8 @@ spec:
app.kubernetes.io/version: 0.1.1
spec:
containers:
- name: podtato-head-hat
image: podtato-head-hat
- env:
- name: PODTATO_COMPONENT
value: hat
name: podtato-head-hat
image: ghcr.io/podtato-head/podtato-server:v0.3.1

0 comments on commit c0c4fb4

Please sign in to comment.