mirror of
https://github.com/Expand-sys/awx-on-k3s
synced 2025-12-16 05:52:15 +11:00
41 lines
857 B
YAML
41 lines
857 B
YAML
---
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: awx
|
|
|
|
generatorOptions:
|
|
disableNameSuffixHash: true
|
|
|
|
secretGenerator:
|
|
- name: awx-secret-tls
|
|
type: kubernetes.io/tls
|
|
files:
|
|
- tls.crt
|
|
- tls.key
|
|
|
|
- name: awx-postgres-configuration
|
|
type: Opaque
|
|
literals:
|
|
- host=awx-postgres
|
|
- port=5432
|
|
- database=awx
|
|
- username=awx
|
|
- password=Ansible123!
|
|
- type=managed
|
|
|
|
- name: awx-admin-password
|
|
type: Opaque
|
|
literals:
|
|
- password=Ansible123!
|
|
|
|
# Temporary workaround to suppress errors from AWX Operator 0.21.0.
|
|
# Refer: https://github.com/kurokobo/awx-on-k3s/issues/74
|
|
- name: redhat-operators-pull-secret
|
|
files:
|
|
- .dockerconfigjson=dockerconfig.json
|
|
type: kubernetes.io/dockerconfigjson
|
|
|
|
resources:
|
|
- pv.yaml
|
|
- pvc.yaml
|
|
- awx.yaml
|