thoth-station.amun

Thoth: Amun

Diese Rolle wird alle Amun-Komponenten in ein bestimmtes OpenShift-Projekt bereitstellen.

Rollenvariablen

Diese Rolle benötigt einige Variablen:

AMUN_INFRA_NAMESPACE: "<Namespace, der die Vorlagen enthält>"
AMUN_API_NAMESPACE: "<Namespace, der die Amun-API hostet>"
AMUN_INSPECTION_NAMESPACE: "<Namespace zum Ausführen der Inspektionsjobs>"
AMUN_API_APP_SECRET_KEY: "<Amun API-Schlüssel>"
PROMETHEUS_PUSHGATEWAY_HOST: "<Prometheus-Host>"
PROMETHEUS_PUSHGATEWAY_PORT: "<Prometheus-Port>"
SENTRY_DSN: "<Sentry DSN>"

Beispiel-Playbook

Hier ist ein Beispiel, wie man deine Rolle verwenden kann (zum Beispiel, mit übergebenen Variablen):

```yaml

  • hosts: localhost connection: local gather_facts: False

    zusätzliche Variablen

    vars:

    Standardmäßig der in amunInspectionNamespace-Vorlage angegebene SA

    SERVICE_ACCOUNT_NAME: "inspektor"

    Bildregistrierung spezifisch für den Cluster (standardmäßig für OpenShift)

    für Minishift benutze :5000, z. B. 172.30.1.1:5000

    IMAGE_REGISTRY: docker-registry.default.svc:5000

    roles:

    • role: thoth-station.anum AMUN_INFRA_NAMESPACE: "thoth-test-core" AMUN_API_NAMESPACE: "thoth-test-core" AMUN_INSPECTION_NAMESPACE: "thoth-test-core" AMUN_API_APP_SECRET_KEY: "{{ lookup('env','AMUN_API_APP_SECRET_KEY') }}" PROMETHEUS_PUSHGATEWAY_HOST: "{{ lookup('env','PROMETHEUS_PUSHGATEWAY_HOST') }}" PROMETHEUS_PUSHGATEWAY_PORT: "{{ lookup('env','PROMETHEUS_PUSHGATEWAY_PORT') }}" SENTRY_DSN: "{{ lookup('env','SENTRY_DSN') }}"

```yaml

Lizenz

GPLv3

Autoreninformationen

Das Thoth Station Team.

Über das Projekt

This role will deploy Thoth's Amun Microservice.

Installieren
ansible-galaxy install thoth-station.amun
GitHub Repository
Lizenz
gpl-3.0
Downloads
116
Besitzer
Using Artificial Intelligence to analyse and recommend Software Stacks for the Python Ecosystem.