Skip to content

Instantly share code, notes, and snippets.

@antonyc
Created May 6, 2022 15:44
Show Gist options
  • Save antonyc/0452c51366a03e51cd18dc343ea971b2 to your computer and use it in GitHub Desktop.
Save antonyc/0452c51366a03e51cd18dc343ea971b2 to your computer and use it in GitHub Desktop.
chapson quick paste
m ~/D/z/c/h/zenith-console git:(release) ✗ helm diff upgrade zenith-console ./ --values values-release.yaml
default, zenith-console, Deployment (apps) has changed:
# Source: zenith-console/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: zenith-console
labels:
helm.sh/chart: zenith-console-0.1.1
app.kubernetes.io/name: zenith-console
app.kubernetes.io/instance: zenith-console
app.kubernetes.io/version: "latest"
app.kubernetes.io/managed-by: Helm
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: zenith-console
app.kubernetes.io/instance: zenith-console
template:
metadata:
annotations:
- rollout-trigger: "No3Xp"
+ rollout-trigger: "x1Lvz"
labels:
app.kubernetes.io/name: zenith-console
app.kubernetes.io/instance: zenith-console
app.kubernetes.io/component: zenith-console
zenith_env: production
zenith_region: us-west-2
zenith_region_slug: oregion
zenith_service: console
spec:
imagePullSecrets:
- name: docker-hub-neon
serviceAccountName: default
securityContext:
fsGroup: 1000
containers:
- name: zenith-console
securityContext:
{}
image: "neondatabase/console:release"
imagePullPolicy: Always
envFrom:
- secretRef:
name: zenith-console-secret
- secretRef:
name: zenith-console-sentry
env:
- name: APP_VERSION
- value: "0905845"
+ value: "dev"
- name: SENTRY_RELEASE
- value: "console@0905845"
+ value: "console@dev"
+ - name: PSQL_PROXY_MGMT_ADDRESS
+ value: host=proxy-release.local port=7000 sslmode=disable
+ - name: PSQL_PROXY_DEFAULT_SIZE
+ value: scalable
- name: GIN_MODE
value: release
+ - name: ZENITH_COMPUTE_TAG
+ value: "1528"
ports:
- name: http
containerPort: 3000
protocol: TCP
- name: managementv2
containerPort: 9095
protocol: TCP
- name: publicv2
containerPort: 3005
protocol: TCP
- name: metrics
containerPort: 9090
protocol: TCP
startupProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 10
timeoutSeconds: 5
periodSeconds: 10
failureThreshold: 30
livenessProbe:
httpGet:
path: /healthz
port: http
periodSeconds: 15
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /healthz
port: http
periodSeconds: 15
timeoutSeconds: 10
resources:
{}
volumeMounts:
- name: kubeconfig
mountPath: "/console/.kube"
readOnly: true
volumes:
- name: kubeconfig
secret:
secretName: console-zenith-1
defaultMode: 0400
items:
- key: config
path: config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment