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
|
└── 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}
|
~~~{.yaml}
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
@ -54,10 +65,9 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
# Prendre le dernier release tag : https://github.com/ansible/awx-operator/releases
|
# Prendre le dernier release tag : https://github.com/ansible/awx-operator/releases
|
||||||
- github.com/ansible/awx-operator/config/default?ref=2.10.0
|
- github.com/ansible/awx-operator/config/default?ref=2.10.0
|
||||||
# fichier(s) d'instance(s)
|
# Set the image tags to match the git version from above
|
||||||
- awx-demo-instance.yaml
|
|
||||||
# le tag de l'image doit etre le meme que celui du release tag ci-dessus
|
|
||||||
images:
|
images:
|
||||||
|
# le tag de l'image doit etre le meme que celui du release tag ci-dessus
|
||||||
- name: quay.io/ansible/awx-operator
|
- name: quay.io/ansible/awx-operator
|
||||||
newTag: 2.10.0
|
newTag: 2.10.0
|
||||||
|
|
||||||
|
@ -65,15 +75,25 @@ images:
|
||||||
namespace: awx
|
namespace: awx
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
* un fichier d'instance `awx/awx-demo-instance.yaml`
|
* Une instance...
|
||||||
|
|
||||||
~~~{.yaml}
|
~~~{.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
|
apiVersion: awx.ansible.com/v1beta1
|
||||||
kind: AWX
|
kind: AWX
|
||||||
metadata:
|
metadata:
|
||||||
name: awx-demo
|
name: awx-demo
|
||||||
spec:
|
spec:
|
||||||
service_type: nodeport
|
# service_type: nodeport
|
||||||
|
service_type: clusterip
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Lancer le Déploiement :
|
Lancer le Déploiement :
|
||||||
|
|
Loading…
Reference in a new issue