--- # Source: harbor/charts/harbor/templates/nginx/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: harbor-nginx namespace: "harbor" labels: heritage: Helm release: harbor chart: harbor app: "harbor" app.kubernetes.io/instance: harbor app.kubernetes.io/name: harbor app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: harbor app.kubernetes.io/version: "2.14.0" component: nginx app.kubernetes.io/component: nginx spec: replicas: 0 revisionHistoryLimit: 10 selector: matchLabels: release: harbor app: "harbor" component: nginx template: metadata: labels: heritage: Helm release: harbor chart: harbor app: "harbor" app.kubernetes.io/instance: harbor app.kubernetes.io/name: harbor app.kubernetes.io/managed-by: Helm app.kubernetes.io/part-of: harbor app.kubernetes.io/version: "2.14.0" component: nginx app.kubernetes.io/component: nginx annotations: checksum/configmap: 55921b41f4478ded4d60da7edb83b828382ba722214816271ce3ffd2a77aed35 checksum/secret: a8a9a7fd020dbd96d9182e967a941ab67770641174d9fd8f918730a18223f0a4 spec: securityContext: runAsUser: 10000 fsGroup: 10000 automountServiceAccountToken: false containers: - name: nginx image: "goharbor/nginx-photon:v2.14.1" imagePullPolicy: "IfNotPresent" livenessProbe: httpGet: scheme: HTTPS path: / port: 8443 initialDelaySeconds: 300 periodSeconds: 10 readinessProbe: httpGet: scheme: HTTPS path: / port: 8443 initialDelaySeconds: 1 periodSeconds: 10 securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL privileged: false runAsNonRoot: true seccompProfile: type: RuntimeDefault ports: - containerPort: 8080 - containerPort: 8443 volumeMounts: - name: config mountPath: /etc/nginx/nginx.conf subPath: nginx.conf - name: certificate mountPath: /etc/nginx/cert volumes: - name: config configMap: name: harbor-nginx - name: certificate secret: secretName: harbor-nginx