2020-05-02 17:41:31 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: Namespace
|
|
|
|
metadata:
|
|
|
|
name: harbor
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Secret
|
|
|
|
metadata:
|
|
|
|
name: harbor-values
|
|
|
|
namespace: harbor
|
|
|
|
annotations:
|
|
|
|
kube-1password: igey7vjjiqmj25v64eck7cyj34
|
|
|
|
kube-1password/vault: Kubernetes
|
|
|
|
kube-1password/secret-text-key: values.yaml
|
|
|
|
type: Opaque
|
|
|
|
---
|
|
|
|
apiVersion: helm.fluxcd.io/v1
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: harbor
|
|
|
|
namespace: harbor
|
|
|
|
spec:
|
|
|
|
chart:
|
|
|
|
repository: https://helm.goharbor.io
|
|
|
|
name: harbor
|
2021-07-05 16:15:22 +00:00
|
|
|
version: 1.7.0
|
2020-05-02 17:41:31 +00:00
|
|
|
maxHistory: 4
|
|
|
|
skipCRDs: false
|
|
|
|
valuesFrom:
|
|
|
|
- secretKeyRef:
|
|
|
|
name: harbor-values
|
|
|
|
namespace: harbor
|
|
|
|
key: values.yaml
|
|
|
|
optional: false
|
|
|
|
values:
|
2021-07-07 08:05:47 +00:00
|
|
|
fullnameOverride: harbor-harbor-harbor
|
2021-12-24 09:58:30 +00:00
|
|
|
externalURL: https://docker.cluster.fun
|
2020-11-07 13:29:37 +00:00
|
|
|
updateStrategy:
|
|
|
|
type: Recreate
|
2021-05-16 11:47:40 +00:00
|
|
|
expose:
|
2021-07-07 08:05:47 +00:00
|
|
|
type: ingress
|
2021-05-16 11:47:40 +00:00
|
|
|
tls:
|
2021-07-07 08:05:47 +00:00
|
|
|
enabled: true
|
2021-05-16 11:47:40 +00:00
|
|
|
certSource: secret
|
|
|
|
secret:
|
|
|
|
secretName: harbor-harbor-ingress
|
2021-07-07 08:05:47 +00:00
|
|
|
ingress:
|
|
|
|
hosts:
|
2021-12-24 09:58:30 +00:00
|
|
|
core: docker.cluster.fun
|
2021-07-07 08:05:47 +00:00
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
2021-10-16 08:46:06 +00:00
|
|
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
2021-10-16 13:39:52 +00:00
|
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
2020-05-02 17:41:31 +00:00
|
|
|
portal:
|
2021-05-16 11:47:40 +00:00
|
|
|
replicas: 2
|
2021-07-05 16:15:22 +00:00
|
|
|
priorityClassName: system-cluster-critical
|
2020-05-02 17:41:31 +00:00
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: 64Mi
|
2021-05-16 11:47:40 +00:00
|
|
|
affinity:
|
|
|
|
podAntiAffinity:
|
|
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
- labelSelector:
|
|
|
|
matchExpressions:
|
|
|
|
- key: component
|
|
|
|
operator: In
|
|
|
|
values:
|
|
|
|
- portal
|
|
|
|
- key: app
|
|
|
|
operator: In
|
|
|
|
values:
|
|
|
|
- harbor
|
|
|
|
topologyKey: kubernetes.io/hostname
|
2020-05-02 17:41:31 +00:00
|
|
|
core:
|
2021-05-16 11:47:40 +00:00
|
|
|
replicas: 2
|
2021-07-05 16:15:22 +00:00
|
|
|
priorityClassName: system-cluster-critical
|
2020-05-02 17:41:31 +00:00
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: 64Mi
|
2021-05-16 11:47:40 +00:00
|
|
|
affinity:
|
|
|
|
podAntiAffinity:
|
|
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
- labelSelector:
|
|
|
|
matchExpressions:
|
|
|
|
- key: component
|
|
|
|
operator: In
|
|
|
|
values:
|
|
|
|
- core
|
|
|
|
- key: app
|
|
|
|
operator: In
|
|
|
|
values:
|
|
|
|
- harbor
|
|
|
|
topologyKey: kubernetes.io/hostname
|
2020-05-02 17:41:31 +00:00
|
|
|
jobservice:
|
2021-05-16 11:47:40 +00:00
|
|
|
replicas: 1
|
2020-05-02 17:41:31 +00:00
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: 64Mi
|
2021-07-07 08:05:47 +00:00
|
|
|
jobLoggers:
|
|
|
|
- stdout
|
2020-05-02 17:41:31 +00:00
|
|
|
registry:
|
2021-05-16 11:47:40 +00:00
|
|
|
replicas: 2
|
2021-07-05 16:15:22 +00:00
|
|
|
priorityClassName: system-cluster-critical
|
2020-05-02 17:41:31 +00:00
|
|
|
registry:
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: 64Mi
|
|
|
|
controller:
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: 64Mi
|
2021-05-16 11:47:40 +00:00
|
|
|
affinity:
|
|
|
|
podAntiAffinity:
|
|
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
- labelSelector:
|
|
|
|
matchExpressions:
|
|
|
|
- key: component
|
|
|
|
operator: In
|
|
|
|
values:
|
|
|
|
- registry
|
|
|
|
- key: app
|
|
|
|
operator: In
|
|
|
|
values:
|
|
|
|
- harbor
|
|
|
|
topologyKey: kubernetes.io/hostname
|
2021-07-07 08:05:47 +00:00
|
|
|
chartmuseum:
|
|
|
|
enabled: false
|
|
|
|
notary:
|
|
|
|
enabled: false
|
|
|
|
trivy:
|
|
|
|
enabled: false
|
|
|
|
metrics:
|
|
|
|
enabled: true
|