Skip to content

Commit

Permalink
run v0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
SataQiu committed Mar 12, 2019
1 parent 42f5b43 commit 94cbcb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions deploy/crds/tomcat_v1alpha1_tomcat_cr.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
apiVersion: tomcat.apache.org/v1alpha1
kind: Tomcat
metadata:
name: example-tomcat
name: tomcat
spec:
# Add fields here
size: 3
replicas: 2
image: tomcat:latest
imagePullPolicy: IfNotPresent
5 changes: 3 additions & 2 deletions deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ spec:
containers:
- name: tomcat-operator
# Replace this with the built image name
image: REPLACE_IMAGE
# image: REPLACE_IMAGE
image: shidaqiu/tomcat-operator:v0.1
command:
- tomcat-operator
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
env:
- name: WATCH_NAMESPACE
valueFrom:
Expand Down

0 comments on commit 94cbcb8

Please sign in to comment.