add pulp-operator
This commit is contained in:
parent
5ed5e7353d
commit
a67a96ede5
48
scripts/pulp-operator-repo.yaml
Normal file
48
scripts/pulp-operator-repo.yaml
Normal file
@ -0,0 +1,48 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: 'example-pulp-admin-password'
|
||||
stringData:
|
||||
password: 'xxxxxxxx'
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: settings
|
||||
data:
|
||||
analytics: "False"
|
||||
token_server: '"https://artifact.onwalk.net/pulp/api/v3/token/"'
|
||||
content_origin: '"https://artifact.onwalk.net"'
|
||||
ansible_api_hostname: '"https://artifact.onwalk.net"'
|
||||
pypi_api_hostname: '"https://artifact.onwalk.net"'
|
||||
api_root: '"/pulp/"'
|
||||
allowed_export_paths: '[ "/tmp" ]'
|
||||
allowed_import_paths: '[ "/tmp" ]'
|
||||
|
||||
---
|
||||
apiVersion: repo-manager.pulpproject.org/v1
|
||||
kind: Pulp
|
||||
metadata:
|
||||
name: example-pulp
|
||||
spec:
|
||||
custom_pulp_settings: settings
|
||||
admin_password_secret: "example-pulp-admin-password"
|
||||
api:
|
||||
replicas: 1
|
||||
content:
|
||||
replicas: 1
|
||||
worker:
|
||||
replicas: 1
|
||||
web:
|
||||
replicas: 1
|
||||
database:
|
||||
postgres_storage_class: local-path
|
||||
file_storage_access_mode: "ReadWriteMany"
|
||||
file_storage_size: "2Gi"
|
||||
file_storage_storage_class: local-path
|
||||
cache:
|
||||
enabled: true
|
||||
redis_storage_class: local-path
|
||||
ingress_type: none
|
||||
|
||||
5
scripts/pulp-operator.sh
Normal file
5
scripts/pulp-operator.sh
Normal file
@ -0,0 +1,5 @@
|
||||
helm repo add pulp-operator https://github.com/pulp/pulp-k8s-resources/raw/main/helm-charts/ --force-update
|
||||
helm repo up
|
||||
kubectl create ns pulp
|
||||
kubectl config set-context --current --namespace pulp
|
||||
helm -n pulp upgrade --install pulp pulp-operator/pulp-operator
|
||||
Loading…
Reference in New Issue
Block a user