Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
BC-331 - BC-353 - rename ansible variables for OnePassword (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamutmk5 authored Sep 29, 2021
1 parent 798fba0 commit aa90ee2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ansible/roles/schulcloud-editor/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: secret.yml.j2
when: ONEPASSWORD is undefined or ONEPASSWORD is defined and not ONEPASSWORD
when: ONEPASSWORD_OPERATOR is undefined or ONEPASSWORD_OPERATOR is defined and not ONEPASSWORD_OPERATOR

- name: Secred by 1Password
community.kubernetes.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: onepassword.yml.j2
when: ONEPASSWORD is defined and ONEPASSWORD|bool
when: ONEPASSWORD_OPERATOR is defined and ONEPASSWORD_OPERATOR|bool

- name: Deployment
community.kubernetes.k8s:
kubeconfig: ~/.kube/config
namespace: "{{ NAMESPACE }}"
template: deployment.yml.j2


Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ metadata:
labels:
app: editor
spec:
itemPath: "vaults/{{ VAULT }}/items/editor"
itemPath: "vaults/{{ ONEPASSWORD_OPERATOR_VAULT }}/items/editor"

0 comments on commit aa90ee2

Please sign in to comment.