blob: a44c28f816d79dbc7537f7bd2b924157d74aeb99 [file] [log] [blame]
Sketch🕴️620d57b2025-07-31 22:31:14 +04001CHART NAME: {{ .Chart.Name }}
2CHART VERSION: {{ .Chart.Version }}
3APP VERSION: {{ .Chart.AppVersion }}
4
5⚠ WARNING: Since August 28th, 2025, only a limited subset of images/charts are available for free.
6 Subscribe to Bitnami Secure Images to receive continued support and security updates.
7 More info at https://bitnami.com and https://github.com/bitnami/containers/issues/83267
8
9** Please be patient while the chart is being deployed **
10
11{{- if .Values.diagnosticMode.enabled }}
12The chart has been deployed in diagnostic mode. All probes have been disabled and the command has been overwritten with:
13
14 command: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.command "context" $) | nindent 4 }}
15 args: {{- include "common.tplvalues.render" (dict "value" .Values.diagnosticMode.args "context" $) | nindent 4 }}
16
17Get the list of pods by executing:
18
19 kubectl get pods --namespace {{ template "common.names.namespace" . }} -l app.kubernetes.io/instance={{ .Release.Name }}
20
21Access the pod you want to debug by executing
22
23 kubectl exec --namespace {{ template "common.names.namespace" . }} -ti <NAME OF THE POD> -- bash
24
25In order to replicate the container startup scripts execute this command:
26
27 /opt/bitnami/scripts/nginx/entrypoint.sh /opt/bitnami/scripts/nginx/run.sh
28
29{{- else }}
30NGINX can be accessed through the following DNS name from within your cluster:
31
32 {{ include "common.names.fullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }} (port {{ .Values.service.ports.http }})
33
34To access NGINX from outside the cluster, follow the steps below:
35
36{{- if .Values.ingress.enabled }}
37
381. Get the NGINX URL and associate its hostname to your cluster external IP:
39
40 export CLUSTER_IP=$(minikube ip) # On Minikube. Use: `kubectl cluster-info` on others K8s clusters
41 echo "NGINX URL: http{{ if .Values.ingress.tls }}s{{ end }}://{{ tpl .Values.ingress.hostname . }}"
42 echo "$CLUSTER_IP {{ tpl .Values.ingress.hostname . }}" | sudo tee -a /etc/hosts
43
44{{- else }}
45
461. Get the NGINX URL by running these commands:
47
48{{- if contains "LoadBalancer" .Values.service.type }}
49
50 NOTE: It may take a few minutes for the LoadBalancer IP to be available.
51 Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ include "common.names.fullname" . }}'
52
53 export SERVICE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].port}" services {{ include "common.names.fullname" . }})
54 export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "common.names.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
55 echo "http://${SERVICE_IP}:${SERVICE_PORT}"
56
57{{- else if contains "ClusterIP" .Values.service.type }}
58
59 export SERVICE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].port}" services {{ include "common.names.fullname" . }})
60 kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ include "common.names.fullname" . }} ${SERVICE_PORT}:${SERVICE_PORT} &
61 echo "http://127.0.0.1:${SERVICE_PORT}"
62
63{{- else if contains "NodePort" .Values.service.type }}
64
65 export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "common.names.fullname" . }})
66 export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
67 echo "http://${NODE_IP}:${NODE_PORT}"
68
69{{- end }}
70{{- end }}
71
72{{- include "common.warnings.rollingTag" .Values.image }}
73{{- include "common.warnings.rollingTag" .Values.cloneStaticSiteFromGit.image }}
74{{- include "common.warnings.rollingTag" .Values.metrics.image }}
75{{- include "nginx.validateValues" . }}
76{{- end }}
77{{- include "common.warnings.resources" (dict "sections" (list "cloneStaticSiteFromGit.gitSync" "metrics" "") "context" $) }}
78{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.image .Values.cloneStaticSiteFromGit.image .Values.metrics.image) "context" $) }}
79{{- include "common.errors.insecureImages" (dict "images" (list .Values.image .Values.cloneStaticSiteFromGit.image .Values.metrics.image) "context" $) }}