mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
Update to operator sdk 0.19.4
This commit is contained in:
@@ -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: {}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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: {}
|
||||||
|
|||||||
Reference in New Issue
Block a user