Created
April 12, 2021 21:36
-
-
Save hguerrero/6bde163c3244a3a3ebc7d044f3c810f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: tutorial-web-app-operator | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
name: tutorial-web-app-operator | |
template: | |
metadata: | |
labels: | |
name: tutorial-web-app-operator | |
spec: | |
serviceAccountName: tutorial-web-app-operator | |
containers: | |
- name: tutorial-web-app-operator | |
image: quay.io/redhatintegration/tutorial-web-app-operator:v0.0.63-workshop | |
ports: | |
- containerPort: 60000 | |
name: metrics | |
command: | |
- tutorial-web-app-operator | |
imagePullPolicy: Always | |
env: | |
- name: WATCH_NAMESPACE | |
valueFrom: | |
fieldRef: | |
fieldPath: metadata.namespace | |
- name: OPERATOR_NAME | |
value: "tutorial-web-app-operator" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment