Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Fix image pull policy variable naming for CR
Browse files Browse the repository at this point in the history
  • Loading branch information
Saravanan KR committed Sep 22, 2020
1 parent 6c6dee9 commit 6d34e7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/trexconfig/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
image: quay.io/krsacme/trex-container-app:latest
imagePullPolicy: IfNotPresent
image_pull_policy: IfNotPresent
privileged: false
command: ["trex-wrapper"]
environments: {}
Expand Down
2 changes: 1 addition & 1 deletion roles/trexconfig/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
- name: trex
command: {{ command }}
image: "{{ image }}"
imagePullPolicy: "{{ imagePullPolicy }}"
imagePullPolicy: "{{ image_pull_policy }}"
securityContext:
{% if privileged %}
privileged: true
Expand Down

0 comments on commit 6d34e7e

Please sign in to comment.