Created
January 12, 2023 09:18
-
-
Save KrustyHack/a0ba53fd9b3f17994c9a2b9c215a850c to your computer and use it in GitHub Desktop.
Revisions
-
KrustyHack created this gist
Jan 12, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,44 @@ # Source: placeholder/templates/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: release-name-placeholder labels: helm.sh/chart: placeholder-0.1.0 app.kubernetes.io/name: placeholder app.kubernetes.io/instance: release-name app.kubernetes.io/version: "latest" app.kubernetes.io/managed-by: Helm spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: placeholder app.kubernetes.io/instance: release-name template: metadata: labels: app.kubernetes.io/name: placeholder app.kubernetes.io/instance: release-name spec: terminationGracePeriodSeconds: 0 priorityClassName: placeholder containers: - name: placeholder image: "busybox:latest" resources: limits: cpu: 8 memory: 16Gi requests: cpu: 8 memory: 16Gi command: ["/bin/sh"] args: ["-c", "sleep infinity"] securityContext: capabilities: drop: - ALL readOnlyRootFilesystem: true runAsNonRoot: true runAsUser: 1000