GithubHelp home page GithubHelp logo

Comments (3)

rusenask avatar rusenask commented on August 27, 2024

Hey @htplbc, thanks for bringing this up, will take a look. Could you please provide a sample deployment.yml template of your helm chart? It should only process charts that have keel config provided in values.yml.

from keel.

htplbc avatar htplbc commented on August 27, 2024

Here you go @rusenask

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: {{ .Chart.Name }}
  labels:
    app: {{ .Chart.Name }}
    chart: {{ .Chart.Name }}-{{ .Chart.Version }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
spec:
  replicas: {{ .Values.replicaCount }}
  selector:
    matchLabels:
      app: {{ .Chart.Name }}
  strategy:
    rollingUpdate:
      maxSurge: 100%
      maxUnavailable: 1
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: {{ .Chart.Name }}
        release: {{ .Release.Name }}
      name: {{ .Chart.Name }}
      annotations:
        checksum/config: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }}
    spec:
      containers:
      - env:
        - name: server_port
          value: {{int .Values.server_port |quote}}
        - name: cookieSecure
          value: {{ .Values.cookieSecure | quote }}
        - name: cookieDomain
          value: {{ .Values.stackDomain | quote }}
        - name: cookieMaxAgeSec
          value: {{int .Values.cookieMaxAgeSec | quote }}
        - name: authCookieName
          value: {{ .Values.authCookieName | quote }}
        - name: envCookieName
          value: {{ .Values.envCookieName | quote }}
        - name: bootCookieName
          value: {{ .Values.bootCookieName | quote }}
        image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
        imagePullPolicy: {{ .Values.image.pullPolicy }}
        name: {{ .Chart.Name }}
        ports:
        - containerPort: 9000
          protocol: TCP
        resources:
          requests:
            memory: "1Gi"
            cpu: "1"
          limits:
            memory: "2Gi"
            cpu: "2"
        terminationMessagePath: /dev/termination-log
      dnsPolicy: ClusterFirst
      imagePullSecrets:
      - name: {{ .Values.image.repoSecretName }}
      restartPolicy: Always
      securityContext: {}
      terminationGracePeriodSeconds: 30

from keel.

rusenask avatar rusenask commented on August 27, 2024

Hi, did some extensive testing but couldn't replicate it. Closing.

from keel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.