Update Docker & Kubernetes/Servers/AWX/AWX Operator/Ansible AWX Operator.md
This commit is contained in:
@ -222,25 +222,6 @@ Add the following Kubernetes patch file to the `/awx` folder on the AWX Operator
|
|||||||
```jsx title="/awx/ingress.yml"
|
```jsx title="/awx/ingress.yml"
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
|
||||||
name: awx
|
|
||||||
namespace: awx
|
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: awx
|
|
||||||
volumeMounts:
|
|
||||||
- name: krb5-config
|
|
||||||
mountPath: /etc/krb5.conf
|
|
||||||
subPath: krb5.conf
|
|
||||||
volumes:
|
|
||||||
- name: krb5-config
|
|
||||||
configMap:
|
|
||||||
name: krb5-config
|
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
metadata:
|
||||||
name: awx-task
|
name: awx-task
|
||||||
namespace: awx
|
namespace: awx
|
||||||
@ -282,9 +263,8 @@ Then run the following commands to apply the configmap to the Kubernetes cluster
|
|||||||
|
|
||||||
``` sh
|
``` sh
|
||||||
kubectl apply -f /awx/krb5-configmap.yml
|
kubectl apply -f /awx/krb5-configmap.yml
|
||||||
kubectl patch deployment awx -n awx --patch "$(cat kerberos-patch.yml | sed -n '/^apiVersion: apps\/v1/,/^---/p')"
|
|
||||||
kubectl patch deployment awx-task -n awx --patch "$(cat kerberos-patch.yml | sed -n '/^apiVersion: apps\/v1/,/^---/p')"
|
kubectl patch deployment awx-task -n awx --patch "$(cat kerberos-patch.yml | sed -n '/^apiVersion: apps\/v1/,/^---/p')"
|
||||||
kubectl patch deployment awx-web -n awx --patch "$(cat kerberos-patch.yml | sed -n '/^apiVersion: apps\/v1/,$p')"
|
kubectl patch deployment awx-web -n awx --patch "$(cat kerberos-patch.yml | sed -n '/^apiVersion: apps\/v1/,/^---/p')"
|
||||||
kubectl apply -k .
|
kubectl apply -k .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user