Zot: Use OAuth2 for authorization
Change-Id: I2569f4df3ad3eff4d94eaa5b67e1180915eceebc
diff --git a/charts/zot/templates/deployment.yaml b/charts/zot/templates/deployment.yaml
index 8918bc0..68b0342 100644
--- a/charts/zot/templates/deployment.yaml
+++ b/charts/zot/templates/deployment.yaml
@@ -69,41 +69,41 @@
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
- livenessProbe:
- initialDelaySeconds: 5
- httpGet:
- path: /v2/
- port: 5000
- scheme: {{ .Values.httpGet.scheme }}
- {{- if .Values.authHeader }}
- httpHeaders:
- - name: Authorization
- value: Basic {{ .Values.authHeader }}
- {{- end }}
- readinessProbe:
- initialDelaySeconds: 5
- httpGet:
- path: /v2/
- port: 5000
- scheme: {{ .Values.httpGet.scheme }}
- {{- if .Values.authHeader }}
- httpHeaders:
- - name: Authorization
- value: Basic {{ .Values.authHeader }}
- {{- end }}
- startupProbe:
- initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }}
- periodSeconds: {{ .Values.startupProbe.periodSeconds }}
- failureThreshold: {{ .Values.startupProbe.failureThreshold }}
- httpGet:
- path: /v2/
- port: 5000
- scheme: {{ .Values.httpGet.scheme }}
- {{- if .Values.authHeader }}
- httpHeaders:
- - name: Authorization
- value: Basic {{ .Values.authHeader }}
- {{- end }}
+ # livenessProbe:
+ # initialDelaySeconds: 5
+ # httpGet:
+ # path: /v2/
+ # port: 5000
+ # scheme: {{ .Values.httpGet.scheme }}
+ # {{- if .Values.authHeader }}
+ # httpHeaders:
+ # - name: Authorization
+ # value: Basic {{ .Values.authHeader }}
+ # {{- end }}
+ # readinessProbe:
+ # initialDelaySeconds: 5
+ # httpGet:
+ # path: /v2/
+ # port: 5000
+ # scheme: {{ .Values.httpGet.scheme }}
+ # {{- if .Values.authHeader }}
+ # httpHeaders:
+ # - name: Authorization
+ # value: Basic {{ .Values.authHeader }}
+ # {{- end }}
+ # startupProbe:
+ # initialDelaySeconds: {{ .Values.startupProbe.initialDelaySeconds }}
+ # periodSeconds: {{ .Values.startupProbe.periodSeconds }}
+ # failureThreshold: {{ .Values.startupProbe.failureThreshold }}
+ # httpGet:
+ # path: /v2/
+ # port: 5000
+ # scheme: {{ .Values.httpGet.scheme }}
+ # {{- if .Values.authHeader }}
+ # httpHeaders:
+ # - name: Authorization
+ # value: Basic {{ .Values.authHeader }}
+ # {{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- if or .Values.mountConfig .Values.mountSecret .Values.persistence .Values.externalSecrets (not (empty .Values.extraVolumes))}}