Skip to content

Instantly share code, notes, and snippets.

@x95castle1
Created April 2, 2025 14:41
Show Gist options
  • Select an option

  • Save x95castle1/e478da3ff19a8841499cd3bb03bb2f34 to your computer and use it in GitHub Desktop.

Select an option

Save x95castle1/e478da3ff19a8841499cd3bb03bb2f34 to your computer and use it in GitHub Desktop.
apiVersion: conventions.carto.run/v1alpha1
kind: PodIntent
metadata:
labels:
app.kubernetes.io/component: intent
app.kubernetes.io/part-of: friday-java-web-app
apps.tanzu.vmware.com/auto-configure-actuators: "true"
apps.tanzu.vmware.com/workload-type: web
carto.run/cluster-template-name: convention-template
carto.run/resource-name: config-provider
carto.run/supply-chain-name: source-to-url
carto.run/template-kind: ClusterConfigTemplate
carto.run/template-lifecycle: mutable
carto.run/workload-name: friday-java-web-app
carto.run/workload-namespace: my-apps
name: duplicate-env
namespace: my-apps
spec:
serviceAccountName: default
template:
metadata:
annotations:
apps.tanzu.vmware.com/correlationid: https://github.com/x95castle1/friday-java-web-app?sub_path=/
autoscaling.knative.dev/minScale: "1"
developer.conventions/target-containers: workload
labels:
app.kubernetes.io/component: run
app.kubernetes.io/part-of: friday-java-web-app
apps.tanzu.vmware.com/auto-configure-actuators: "true"
apps.tanzu.vmware.com/workload-type: web
carto.run/workload-name: friday-java-web-app
spec:
containers:
- image: us-west2-docker.pkg.dev/shepherd-v2-environment-1/sh2-rake-3890711-oci-registry/workloads/friday-java-web-app-my-apps@sha256:60e2be8be62c8b78533a0506640b615d9383f849ac2900041eee9b7eb2e4fbd0
name: workload
env:
- name: spring.application.name
value: avi-controlcenter-ui-wrapper
- name: spring.application.name
value: avi-controlcenter-ui-wrapper
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsNonRoot: true
runAsUser: 1000
seccompProfile:
type: RuntimeDefault
serviceAccountName: default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment