Update to operator sdk 0.19.4

This commit is contained in:
Shane McDonald
2021-01-23 10:15:53 -05:00
parent 499fa281b8
commit f3fcd0b810
4 changed files with 19 additions and 25 deletions

View File

@@ -15,18 +15,7 @@ spec:
spec: spec:
serviceAccountName: awx-operator serviceAccountName: awx-operator
containers: containers:
- name: ansible - name: awx-operator
command:
- /usr/local/bin/ao-logs
- /tmp/ansible-operator/runner
- stdout
image: "{{ operator_image }}:{{ operator_version }}"
imagePullPolicy: "{{ pull_policy|default('Always') }}"
volumeMounts:
- mountPath: /tmp/ansible-operator/runner
name: runner
readOnly: true
- name: operator
image: "{{ operator_image }}:{{ operator_version }}" image: "{{ operator_image }}:{{ operator_version }}"
imagePullPolicy: "{{ pull_policy|default('Always') }}" imagePullPolicy: "{{ pull_policy|default('Always') }}"
volumeMounts: volumeMounts:
@@ -42,6 +31,14 @@ spec:
fieldPath: metadata.name fieldPath: metadata.name
- name: OPERATOR_NAME - name: OPERATOR_NAME
value: awx-operator value: awx-operator
- name: ANSIBLE_GATHERING
value: explicit
livenessProbe:
httpGet:
path: /healthz
port: 6789
initialDelaySeconds: 5
periodSeconds: 3
volumes: volumes:
- name: runner - name: runner
emptyDir: {} emptyDir: {}

View File

@@ -1,4 +1,4 @@
FROM quay.io/operator-framework/ansible-operator:v0.17.0 FROM quay.io/operator-framework/ansible-operator:v0.19.4
# Install Ansible requirements. # Install Ansible requirements.
COPY requirements.yml ${HOME}/requirements.yml COPY requirements.yml ${HOME}/requirements.yml

View File

@@ -110,18 +110,7 @@ spec:
spec: spec:
serviceAccountName: awx-operator serviceAccountName: awx-operator
containers: containers:
- name: ansible - name: awx-operator
command:
- /usr/local/bin/ao-logs
- /tmp/ansible-operator/runner
- stdout
image: "ansible/awx-operator:0.5.0"
imagePullPolicy: "Always"
volumeMounts:
- mountPath: /tmp/ansible-operator/runner
name: runner
readOnly: true
- name: operator
image: "ansible/awx-operator:0.5.0" image: "ansible/awx-operator:0.5.0"
imagePullPolicy: "Always" imagePullPolicy: "Always"
volumeMounts: volumeMounts:
@@ -137,6 +126,14 @@ spec:
fieldPath: metadata.name fieldPath: metadata.name
- name: OPERATOR_NAME - name: OPERATOR_NAME
value: awx-operator value: awx-operator
- name: ANSIBLE_GATHERING
value: explicit
livenessProbe:
httpGet:
path: /healthz
port: 6789
initialDelaySeconds: 5
periodSeconds: 3
volumes: volumes:
- name: runner - name: runner
emptyDir: {} emptyDir: {}