correction coherence
This commit is contained in:
parent
5137f15115
commit
53bcbe5e62
32
HowtoAWX.md
32
HowtoAWX.md
|
@ -46,7 +46,18 @@ awx
|
|||
└── whitelist-middleware.yaml
|
||||
~~~
|
||||
|
||||
* un fichier kustomize qui va assembler `awx/kustomization.yaml`
|
||||
* un fichier kustomize qui va assembler tout `awx/kustomization.yaml`
|
||||
|
||||
~~~{.yaml}
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./traefik
|
||||
- ./awx-operator
|
||||
- ./awx-instances
|
||||
~~~
|
||||
|
||||
l'operateur `awx/awx-operator/kustomization.yaml ` qui va etre crée dans un namespace `awx`
|
||||
|
||||
~~~{.yaml}
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
|
@ -54,10 +65,9 @@ kind: Kustomization
|
|||
resources:
|
||||
# Prendre le dernier release tag : https://github.com/ansible/awx-operator/releases
|
||||
- github.com/ansible/awx-operator/config/default?ref=2.10.0
|
||||
# fichier(s) d'instance(s)
|
||||
- awx-demo-instance.yaml
|
||||
# le tag de l'image doit etre le meme que celui du release tag ci-dessus
|
||||
# Set the image tags to match the git version from above
|
||||
images:
|
||||
# le tag de l'image doit etre le meme que celui du release tag ci-dessus
|
||||
- name: quay.io/ansible/awx-operator
|
||||
newTag: 2.10.0
|
||||
|
||||
|
@ -65,15 +75,25 @@ images:
|
|||
namespace: awx
|
||||
~~~
|
||||
|
||||
* un fichier d'instance `awx/awx-demo-instance.yaml`
|
||||
* Une instance...
|
||||
|
||||
~~~{.yaml}
|
||||
# awx/awx-instances/demo/kustomization.yaml
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- awx-instance.yaml
|
||||
- traefik-whitelist-middleware.yaml
|
||||
- treafik-ingressroute.yaml
|
||||
|
||||
# awx/awx-instances/demo/awx-instance.yaml
|
||||
apiVersion: awx.ansible.com/v1beta1
|
||||
kind: AWX
|
||||
metadata:
|
||||
name: awx-demo
|
||||
spec:
|
||||
service_type: nodeport
|
||||
# service_type: nodeport
|
||||
service_type: clusterip
|
||||
~~~
|
||||
|
||||
Lancer le Déploiement :
|
||||
|
|
Loading…
Reference in a new issue