# SPDX-FileCopyrightText: 2019-present Open Networking Foundation <info@opennetworking.org>
#
# SPDX-License-Identifier: Apache-2.0

apiVersion: apps/v1
kind: Deployment
metadata:
  name: example-deployment
  labels:
    app: example
spec:
  replicas: 1
  selector:
    matchLabels:
      app: example
  template:
    metadata:
      labels:
        app: example
      annotations:
        broker.atomix.io/inject: "true"
        storage.atomix.io/profile: example-profile
    spec:
      serviceAccountName: primitives
      containers:
      - name: sleep
        image: alpine:latest
        command: ["/bin/sh", "-c", "--"]
        args: ["while true; do sleep 30; done;"]