|
|
|
@ -1,9 +1,14 @@
|
|
|
|
---
|
|
|
|
---
|
|
|
|
|
|
|
|
harbor_homedir: "/data"
|
|
|
|
|
|
|
|
|
|
|
|
harbor_hostname: '{{ stage_server_domain }}'
|
|
|
|
harbor_pgdatadir_lvm_hcloudvol_size: 50
|
|
|
|
harbor_external_url: 'https://{{ stage_server_domain }}'
|
|
|
|
harbor_pgdatadir_lvm_hcloudvol_count: 1
|
|
|
|
|
|
|
|
harbor_pgdatadir_lvm_hcloudvol_mountpath: "{{ harbor_homedir }}"
|
|
|
|
|
|
|
|
|
|
|
|
harbor_id: '{{ inventory_hostname }}-harbor'
|
|
|
|
harbor_hostname: "{{ stage_server_domain }}"
|
|
|
|
|
|
|
|
harbor_external_url: "https://{{ stage_server_domain }}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
harbor_id: "{{ inventory_hostname }}-harbor"
|
|
|
|
|
|
|
|
|
|
|
|
harbor_dockercompose_customized:
|
|
|
|
harbor_dockercompose_customized:
|
|
|
|
services:
|
|
|
|
services:
|
|
|
|
@ -33,36 +38,35 @@ harbor_dockercompose_customized:
|
|
|
|
external: true
|
|
|
|
external: true
|
|
|
|
|
|
|
|
|
|
|
|
harbor_base_configuration:
|
|
|
|
harbor_base_configuration:
|
|
|
|
email_host: '{{ shared_service_mail_hostname }}'
|
|
|
|
email_host: "{{ shared_service_mail_hostname }}"
|
|
|
|
email_port: 25
|
|
|
|
email_port: 25
|
|
|
|
email_from: '{{ harbor_id }}@netgo.de'
|
|
|
|
email_from: "{{ harbor_id }}@netgo.de"
|
|
|
|
email_password: ''
|
|
|
|
email_password: ""
|
|
|
|
email_username: ''
|
|
|
|
email_username: ""
|
|
|
|
email_insecure: true
|
|
|
|
email_insecure: true
|
|
|
|
auth_mode: oidc_auth
|
|
|
|
auth_mode: oidc_auth
|
|
|
|
oidc_name: "{{ harbor_oidc_realm }}"
|
|
|
|
oidc_name: "{{ harbor_oidc_realm }}"
|
|
|
|
oidc_endpoint: 'https://{{ shared_service_hostname_keycloak }}/auth/realms/{{ harbor_oidc_realm }}'
|
|
|
|
oidc_endpoint: "https://{{ shared_service_hostname_keycloak }}/auth/realms/{{ harbor_oidc_realm }}"
|
|
|
|
oidc_client_id: "{{ harbor_oidc_client_id }}"
|
|
|
|
oidc_client_id: "{{ harbor_oidc_client_id }}"
|
|
|
|
oidc_client_secret: "{{ harbor_oidc_client_secret }}"
|
|
|
|
oidc_client_secret: "{{ harbor_oidc_client_secret }}"
|
|
|
|
oidc_groups_claim: groups
|
|
|
|
oidc_groups_claim: groups
|
|
|
|
oidc_scope: openid
|
|
|
|
oidc_scope: openid
|
|
|
|
oidc_verify_cert: true
|
|
|
|
oidc_verify_cert: true
|
|
|
|
oidc_auto_onboard: true
|
|
|
|
oidc_auto_onboard: true
|
|
|
|
oidc_admin_group: 'admin'
|
|
|
|
oidc_admin_group: "admin"
|
|
|
|
oidc_user_claim: 'sub'
|
|
|
|
oidc_user_claim: "sub"
|
|
|
|
scan_all_policy:
|
|
|
|
scan_all_policy:
|
|
|
|
parameter:
|
|
|
|
parameter:
|
|
|
|
daily_time: 0
|
|
|
|
daily_time: 0
|
|
|
|
|
|
|
|
|
|
|
|
project_object_template:
|
|
|
|
project_object_template:
|
|
|
|
project_attributes:
|
|
|
|
project_attributes:
|
|
|
|
project_name: '{{ elem }}'
|
|
|
|
project_name: "{{ elem }}"
|
|
|
|
meta_data:
|
|
|
|
meta_data:
|
|
|
|
auto_scan: true
|
|
|
|
auto_scan: true
|
|
|
|
project_state: present
|
|
|
|
project_state: present
|
|
|
|
members:
|
|
|
|
members:
|
|
|
|
-
|
|
|
|
- group_name: "{{ elem }}"
|
|
|
|
group_name: '{{ elem }}'
|
|
|
|
|
|
|
|
group_type: oidc
|
|
|
|
group_type: oidc
|
|
|
|
role: projectadmin
|
|
|
|
role: projectadmin
|
|
|
|
|
|
|
|
|
|
|
|
@ -74,13 +78,12 @@ harbor_projects_smardigo_default:
|
|
|
|
harbor_projects: []
|
|
|
|
harbor_projects: []
|
|
|
|
|
|
|
|
|
|
|
|
harbor_robot_tokens:
|
|
|
|
harbor_robot_tokens:
|
|
|
|
-
|
|
|
|
- secret_refresh: true
|
|
|
|
secret_refresh: true
|
|
|
|
|
|
|
|
# token_state: present
|
|
|
|
# token_state: present
|
|
|
|
name: ansible
|
|
|
|
name: ansible
|
|
|
|
level: system
|
|
|
|
level: system
|
|
|
|
description: 'smardigo docker pull credentials'
|
|
|
|
description: "smardigo docker pull credentials"
|
|
|
|
secret: '{{ harbor_token }}'
|
|
|
|
secret: "{{ harbor_token }}"
|
|
|
|
disable: false
|
|
|
|
disable: false
|
|
|
|
duration: -1
|
|
|
|
duration: -1
|
|
|
|
editable: true
|
|
|
|
editable: true
|
|
|
|
@ -111,7 +114,6 @@ harbor_robot_tokens:
|
|
|
|
namespace: "*"
|
|
|
|
namespace: "*"
|
|
|
|
|
|
|
|
|
|
|
|
harbor_scanall:
|
|
|
|
harbor_scanall:
|
|
|
|
-
|
|
|
|
- schedule:
|
|
|
|
schedule:
|
|
|
|
|
|
|
|
cron: 0 0 1 * * *
|
|
|
|
cron: 0 0 1 * * *
|
|
|
|
type: Custom
|
|
|
|
type: Custom
|
|
|
|
|