Git Product home page Git Product logo

Comments (4)

sylus avatar sylus commented on May 20, 2024 1

Worked great, thx everyone :)

from charts.

eldada avatar eldada commented on May 20, 2024

How do you think we can encourage this?

from charts.

sylus avatar sylus commented on May 20, 2024

Disagree a bit with the above as sometimes you will want to just update the image tag and might not want some of the helm updates especially if add new features or modify existing without testing. Sometimes especially for security issues is important to just quickly use image tag.

I did have a question about updates though and this seems like the place to ask. Say I did a fresh install with the a sub chart built with a requirement on artifactory.

# Default values for artifactory.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

artifactory:
  # Common
  initContainerImage: "alpine:3.6"

  # For supporting pulling from private registries
  imagePullSecrets:

  ingress:
    enabled: true
    defaultBackend:
      enabled: false
    # Used to create an Ingress record.
    hosts:
      - artifactory.govcloud.ca
    annotations:
    # kubernetes.io/ingress.class: nginx
    # kubernetes.io/tls-acme: "true"
    tls:
    # Secrets must be manually created in the namespace.
    # - secretName: chart-example-tls
    #   hosts:
    #     - artifactory.domain.example

  # Artifactory
  artifactory:
    name: artifactory
    image:
      # repository: "docker.bintray.io/jfrog/artifactory-oss"
      repository: "docker.bintray.io/jfrog/artifactory-pro"
      # Note that by default we use appVersion to get image tag
      # version: 6.1.0
      pullPolicy: IfNotPresent

    ## Artifactory license secret.
    ## If artifactory.license.secret is passed, it will be mounted as
    ## ARTIFACTORY_HOME/etc/artifactory.lic and loaded at run time.
    ## The dataKey should be the name of the secret data key created.
    license:
      secret: artifactory-artifactory-license
      dataKey: artifactory.lic

    ## Create configMap with artifactory.config.import.xml and security.import.xml and pass name of configMap in following parameter
    configMapName: ''
    masterKey: ''

    ## Extra postStart command
    # postStartCommand: "echo \"172.20.48.4     cloud.statcan.ca\" >> /etc/hosts"

    annotations: {}

    service:
      name: artifactory
      type: ClusterIP
      annotations: {}

    uid: 1030

    persistence:
      mountPath: "/var/opt/jfrog/artifactory"
      enabled: true
      ## A manually managed Persistent Volume and Claim
      ## Requires persistence.enabled: true
      ## If defined, PVC must be created manually before volume will be bound
      # existingClaim:

      accessMode: ReadWriteOnce
      size: 500Gi
      ## artifactory data Persistent Volume Storage Class
      ## If defined, storageClassName: <storageClass>
      ## If set to "-", storageClassName: "", which disables dynamic provisioning
      ## If undefined (the default) or set to null, no storageClassName spec is
      ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
      ##   GKE, AWS & OpenStack)
      ##
      # storageClass: "-"

  # Nginx
  nginx:
    enabled: true
    name: nginx
    replicaCount: 1
    uid: 104
    gid: 107
    image:
      repository: "docker.bintray.io/jfrog/nginx-artifactory-pro"
      # Note that by default we use appVersion to get image tag
      # version:
      pullPolicy: IfNotPresent

    service:
      ## For minikube, set this to NodePort, elsewhere use LoadBalancer
      type: LoadBalancer

    ## The SSL secret that will be used by the Nginx pod
    # tlsSecretName: chart-example-tls
    env:
      # artUrl: "http://artifactory:8081/artifactory"
      ssl: true
      skipAutoConfigUpdate: true

    ## Custom ConfigMap for nginx.conf
    customConfigMap: artifactory-artifactory-nginx

    persistence:
      mountPath: "/var/opt/jfrog/nginx"
      enabled: false
      ## A manually managed Persistent Volume and Claim
      ## Requires persistence.enabled: true
      ## If defined, PVC must be created manually before volume will be bound
      # existingClaim:

      accessMode: ReadWriteOnce
      size: 10Gi

  ## Configuration values for the postgresql dependency
  ## ref: https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md
  postgresql:
    enabled: true
    persistence:
      size: 100Gi

Is all I need to do is add my postgresPassword from the secret and perhaps the masterKey before I run a helm upgrade to just update the image tag? Want to make sure am not missing anything else? Thanks so much for any assistance :)

@jainishshah17 @eldada

from charts.

jainishshah17 avatar jainishshah17 commented on May 20, 2024

@sylus Yes, That's correct

from charts.

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.