-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
11 changed files
with
99 additions
and
5 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[defaults] | ||
|
||
# Better error output | ||
stdout_callback=debug | ||
stderr_callback=debug |
Binary file not shown.
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,11 @@ | ||
--- | ||
|
||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
name: standard | ||
annotations: | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
provisioner: cinder.csi.openstack.org | ||
parameters: | ||
availability: nova |
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,57 @@ | ||
--- | ||
|
||
- name: Deploy quarry to k8s cluster | ||
gather_facts: false | ||
hosts: localhost | ||
tasks: | ||
#- name: Temporary directory for cloud provider | ||
# ansible.builtin.tempfile: | ||
# state: directory | ||
# suffix: cloud-provider | ||
# register: cloud_dir | ||
# changed_when: False | ||
|
||
#- name: Clone cloud-provider-openstack | ||
# ansible.builtin.git: | ||
# repo: https://github.com/kubernetes/cloud-provider-openstack.git | ||
# dest: "{{ cloud_dir.path }}" | ||
# version: v1.26.3 | ||
# changed_when: False | ||
|
||
#- name: Copy file with owner and permissions | ||
# ansible.builtin.copy: | ||
# src: files/csi-secret-cinderplugin.yaml.crypt | ||
# dest: "{{ cloud_dir.path }}/manifests/cinder-csi-plugin/csi-secret-cinderplugin.yaml" | ||
# changed_when: False | ||
|
||
#- name: install the things! | ||
# kubernetes.core.k8s: | ||
# state: present | ||
# src: "{{ cloud_dir.path }}/manifests/cinder-csi-plugin/{{ item }}" | ||
# loop: | ||
# - "csi-secret-cinderplugin.yaml" | ||
# - "cinder-csi-controllerplugin-rbac.yaml" | ||
# - "cinder-csi-controllerplugin.yaml" | ||
# - "cinder-csi-nodeplugin-rbac.yaml" | ||
# - "cinder-csi-nodeplugin.yaml" | ||
# - "csi-cinder-driver.yaml" | ||
|
||
#- name: Delete temporary directory | ||
# ansible.builtin.file: | ||
# state: absent | ||
# path: "{{ cloud_dir.path }}" | ||
# changed_when: False | ||
|
||
#- name: and sc.yaml | ||
# kubernetes.core.k8s: | ||
# state: present | ||
# src: "files/sc.yaml" | ||
|
||
- name: Deploy quarry | ||
kubernetes.core.helm: | ||
name: quarry | ||
chart_ref: ../helm-quarry | ||
release_namespace: "quarry" | ||
create_namespace: true | ||
values_files: | ||
- ../helm-quarry/prod-env.yaml |
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
Binary file not shown.
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
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