-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ingress-controller and use metal-roles v0.6.4 release. (#84)
- Loading branch information
Showing
10 changed files
with
61 additions
and
407 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
metal_stack_release_version: v0.8.4 | ||
metal_core_image_tag: pr-dont-turn-off-chassis-led-on-registration | ||
metal_roles_version: v0.6.4 |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
--- | ||
# When encountering module failures like: AttributeError: 'NoneType' object has no attribute 'get' | ||
# This is how to resolve them: https://github.com/ansible/ansible/issues/47081#issuecomment-431194051 | ||
- name: Apply mandatory nginx-ingress definition | ||
- name: Create namespace ingress controller | ||
k8s: | ||
definition: "{{ lookup('template', 'mandatory.yaml') }}" | ||
definition: | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: ingress-nginx | ||
labels: | ||
name: ingress-nginx | ||
|
||
- name: Deploy nginx-ingress service | ||
k8s: | ||
definition: "{{ lookup('template', 'service.yaml') }}" | ||
- name: Deploy nginx-ingress | ||
include_role: | ||
name: ansible-common/roles/helm-chart | ||
vars: | ||
helm_repo: "https://kubernetes.github.io/ingress-nginx" | ||
helm_chart: ingress-nginx | ||
helm_target_namespace: ingress-nginx | ||
helm_release_name: ingress-nginx | ||
helm_value_file_template: "values.yaml" |
Oops, something went wrong.