Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
1 result

harbor

  • Clone with SSH
  • Clone with HTTPS
  • Laszlo Rafael's avatar
    03469915
    History

    Harbor

    Container registry vm using Harbor.

    Requirements

    ansible/main/vars/secret.yaml should be created from the example.

    Running

    Terraform

    cd terraform
    ./bootstrap.sh
    terraform apply

    Ansible

    cd ansible
    ./bootstrap.sh
    ansible-playbook main/base.yaml

    Terraform

    /terraform folder contains a configuration which creates the vm with basic networking.

    Ansible

    /ansible:
    After the vm is created you can simply install all the necessary configurations with ansible-playbook harbor/base.yaml. (cd into the folder and run ./bootstrap.sh)

    Harbor configuration

    The playbook handles everything and auto start harbor. If you want to change the configuration refer to the ansible/main/templates/home/user/harbor/harbor.yml file

    LDAP

    Auth mode LDAP
    LDAP_URL ldaps://dc.sch.bme.hu
    LDAP Search DN (Search user)
    LDAP Search Password (Search user pw)
    LDAP Base DN dc=sch,dc=bme,dc=hu
    LDAP Filter (by default it uses the LDAP UID, so it isn't needed)
    LDAP UID sAMAccountName
    LDAP Scope Subtree (Find _kisnyul and SCHAccounts)
    LDAP Group Base DN - (It uses member field in user which is not available in our LDAP)
    LDAP Group Filter -
    LDAP Group GID -
    LDAP Group Admin DN -
    LDAP Group Membership -
    LDAP Scope Subtree
    LDAP Verify Certificate yes