devsecops_и_промышленные_решения

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
devsecops_и_промышленные_решения [2026/03/16 10:28]
val [2.4 ArgoCD и универсальный Helm Chart]
devsecops_и_промышленные_решения [2026/03/16 10:47] (current)
val [2.4 ArgoCD и универсальный Helm Chart]
Line 301: Line 301:
 </​code><​code>​ </​code><​code>​
 kube1:​~/​webd-k8s#​ helm template my-htwebd uni-webd-chart/​ -f apps/​htwebd/​values.yaml -f env.yaml kube1:​~/​webd-k8s#​ helm template my-htwebd uni-webd-chart/​ -f apps/​htwebd/​values.yaml -f env.yaml
- 
-kube1:​~/​webd-k8s#​ cat apps/​htwebd/​values.yaml 
-</​code><​code>​ 
-... 
-lifecycle: 
-  postStart: 
-    exec: 
-      command: 
-      command: 
-        - /bin/sh 
-        - -c 
-        - cd /​usr/​local/​apache2/​htdocs/​ && echo \"<​h1>​Hello from htwebd on $(hostname) ver1.1</​h1>​\"​ > index.html 
-</​code><​code>​ 
-kube1:​~/​webd-k8s#​ cat uni-webd-chart/​templates/​my-webd-deployment.yaml 
-... 
-        image: ... 
-        {{- with .Values.lifecycle.postStart.exec.command }} 
-        lifecycle: 
-          postStart: 
-            exec: 
-              command: 
-                {{- range . }} 
-                - "{{ . }}" 
-                {{- end }} 
-        {{- end }} 
-... 
-</​code><​code>​ 
-kube1:​~/​webd-k8s#​ helm upgrade -i my-htwebd uni-webd-chart/​ -f env.yaml -f apps/​htwebd/​values.yaml -n my-ns --create-namespace 
 </​code>​ </​code>​
  
 +  * [[Универсальный Helm-чарт#​Добавляем lifecycle.postStart и Gateway API]]
  
-<​code>​ 
-kube1:​~/​webd-k8s#​ cp -v my-httproute.yaml uni-webd-chart/​templates/​ 
-kube1:​~/​webd-k8s#​ cp -v my-gateway.yaml uni-webd-chart/​templates/​ 
-</​code>​ 
  
 ===== Модуль 3: Безопасность в DevOps ===== ===== Модуль 3: Безопасность в DevOps =====
devsecops_и_промышленные_решения.1773646084.txt.gz · Last modified: 2026/03/16 10:28 by val