-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[skip travis] updates to last commit
Signed-off-by: Charlie Mordant <[email protected]>
- Loading branch information
Showing
7 changed files
with
81 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--- | ||
|
||
kube_firewall_zone: 'public' | ||
cert_manager_chart_version: 'v1.12.1' | ||
cert_manager_chart_version: 'v1.14.2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
|
||
- name: Install-cmctl | Install golang | ||
ansible.builtin.package: | ||
name: golang | ||
state: present | ||
become: True | ||
|
||
- name: Get stats of a file | ||
ansible.builtin.stat: | ||
path: /usr/local/bin/cmctl | ||
register: st | ||
become: True | ||
|
||
- name: Install-cmctl | Get goOs | ||
ansible.builtin.command: go env GOOS | ||
register: goOs | ||
when: not st.stat.exists | ||
|
||
- name: Install-cmctl | Get goArch | ||
ansible.builtin.command: go env GOARCH | ||
register: goArch | ||
when: not st.stat.exists | ||
|
||
- name: Install-cmctl | Create temporary folder to copy issuer template | ||
ansible.builtin.tempfile: | ||
state: directory | ||
suffix: cmctl | ||
register: tempdir | ||
when: not st.stat.exists | ||
|
||
- name: Install-cmctl | Download cmctl | ||
ansible.builtin.get_url: | ||
url: "https://github.com/cert-manager/cert-manager/releases/latest/download/cmctl-{{ goOs.stdout }}-{{ goArch.stdout }}.tar.gz" | ||
dest: "{{ tempdir.path }}/cmctl.tar.gz" | ||
mode: '0640' | ||
when: not st.stat.exists | ||
|
||
- name: Install-cmctl | Extract cmctl | ||
ansible.builtin.unarchive: | ||
src: "{{ tempdir.path }}/cmctl.tar.gz" | ||
dest: "/usr/local/bin" | ||
remote_src: true | ||
creates: "/usr/local/bin/cmctl" | ||
become: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
templates/freeipa-issuer/certmanager_clusterissuer.yaml.j2
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters