26 lines
439 B
YAML
26 lines
439 B
YAML
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: checkout
|
|
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: checkout-api
|
|
namespace: checkout
|
|
---
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: checkout
|
|
namespace: checkout
|
|
labels:
|
|
app: checkout
|
|
spec:
|
|
automountServiceAccountToken: false
|
|
serviceAccountName: checkout-api
|
|
containers:
|
|
- name: checkout
|
|
image: busybox:1.37
|
|
command: ["sh", "-c", "sleep 3600"]
|