Skip to content

Commit 6614e9b

Browse files
authored
Remove Harbor auto configuration (DataDog#23595)
1 parent 587f7a4 commit 6614e9b

3 files changed

Lines changed: 1 addition & 62 deletions

File tree

harbor/assets/configuration/spec.yaml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -31,33 +31,3 @@ files:
3131
type: file
3232
path: /var/log/harbor/*.log
3333
source: harbor
34-
- name: auto_conf.yaml
35-
options:
36-
- template: ad_identifiers
37-
overrides:
38-
value.example:
39-
- nginx-photon
40-
- template: init_config
41-
options: []
42-
- template: instances
43-
options:
44-
- name: url
45-
required: true
46-
description: The Harbor HTTP url.
47-
value:
48-
example: 'http://%%host%%/'
49-
type: string
50-
- name: username
51-
required: true
52-
description: |
53-
The username to use for authentication against the Harbor API.
54-
Note: Some metrics and service checks requires an admin account to be collected.
55-
This includes chartmuseum.status, replication registries data, volume information.
56-
value:
57-
type: string
58-
- name: password
59-
required: true
60-
description: The password used together with the username for authentication against the Harbor API.
61-
secret: true
62-
value:
63-
type: string

harbor/changelog.d/23595.fixed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove the default auto configuration that used literal placeholder credentials.

harbor/datadog_checks/harbor/data/auto_conf.yaml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)