-
Notifications
You must be signed in to change notification settings - Fork 55
/
HelmRepository.java
65 lines (54 loc) · 1.4 KB
/
HelmRepository.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package io.kokuwa.maven.helm.pojo;
import lombok.Data;
import lombok.ToString;
/**
* POJO for extra repo configuration
*
* @author Fabian Schlegel
* @since 1.8
*/
@Data
public class HelmRepository {
/**
* Name of repository. If no username/password is configured this name is
* interpreted as server id and used to obtain username/password from
* server list in <code>settings.xml</code>-
*/
private String name;
private String url;
/**
* Username for basic authentication. If present credentials in server list will be ignored.
*/
@ToString.Exclude
private String username;
/**
* Password for basic authentication. If present credentials in server list will be ignored.
*/
@ToString.Exclude
private String password;
@ToString.Exclude
private RepoType type;
@ToString.Exclude
private boolean useGroupId;
/**
* Add artifact id to helm upload url (Artifactory only).
*
* @since 6.7.0
*/
@ToString.Exclude
private boolean useArtifactId;
/**
* If <code>true</code>, replaces (overwrite) the repo if it already exists.
* Will be combined with "helm.repo.add.force-update".
*
* @since 6.6.0
*/
private boolean forceUpdate = false;
/**
* If <code>true</code>, pass credentials to all domains (useful when the chart archive is on a different domain
* from the index.yaml, for example on a CDN)
*
* @since 6.15.0
*/
private boolean passCredentials = false;
}