Staging instance, all changes can be removed at any time

Skip to content

swh: Add provenance template

Antoine R. Dumont requested to merge mr/add-provenance-template into swh-next-version

(review if any will be simpler on a commit per commit basis)

This adds the provenance template to allow the rpc instance deployment to:

  • local-cluster (disabled by default)
  • staging next version
  • staging

This can only be tested in the local cluster for now (and helm diff). This ensures the service are starting appropriately (since there is no graph in local-cluster yet, we cannot do much more, for the ongoing graph work, see [1])

Next step would be to merge this in the branch swh-next-version. This will then allow to test it there (since it will start the rpc service and hit granet's graph service).

[1] !459 (merged)

helm diff
[swh] Comparing changes between branches production and mr/add-provenance-template (per environment)...
Your branch is ahead of 'origin/production' by 4 commits.
  (use "git push" to publish your local commits)
[swh] Generate config in production branch for environment staging, namespace swh...
[swh] Generate config in production branch for environment staging, namespace swh-cassandra...
[swh] Generate config in production branch for environment staging, namespace swh-cassandra-next-version...
[swh] Generate config in mr/add-provenance-template branch for environment staging...
[swh] Generate config in mr/add-provenance-template branch for environment staging...
[swh] Generate config in mr/add-provenance-template branch for environment staging...
Your branch is ahead of 'origin/production' by 4 commits.
  (use "git push" to publish your local commits)
[swh] Generate config in production branch for environment production, namespace swh...
[swh] Generate config in production branch for environment production, namespace swh-cassandra...
[swh] Generate config in production branch for environment production, namespace swh-cassandra-next-version...
[swh] Generate config in mr/add-provenance-template branch for environment production...
[swh] Generate config in mr/add-provenance-template branch for environment production...
[swh] Generate config in mr/add-provenance-template branch for environment production...


------------- diff for environment staging namespace swh -------------

     _        __  __
   _| |_   _ / _|/ _|  between /tmp/swh-chart.swh.Q7f9n2ow/staging-swh.before, 140 documents
 / _' | | | | |_| |_       and /tmp/swh-chart.swh.Q7f9n2ow/staging-swh.after, 140 documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned two differences
        |___/

data.config.yml.template  (v1/ConfigMap/swh/web-postgresql-configuration-template)
  ± value change in multiline text (two inserts, one deletion)
    +
    -
    - content_display_max_size: 5242880
    - give:
    -   public_key: ${GIVE_PUBLIC_KEY}
    -   token: ${GIVE_PRIVATE_TOKEN}
    - history_counters_url: http://counters-rpc-ingress/counters_history/history.json
    - inbound_email:
    -   shared_key: ${INBOUND_EMAIL_SHARED_KEY}
    - keycloak:
    -   realm_name: SoftwareHeritageStaging
    -   server_url: https://auth.softwareheritage.org/auth/
    - matomo: {}
    - search_config:
    -   metadata_backend: swh-search
    + - swh.web.provenance
    + content_display_max_size: 5242880
    + give:
    +   public_key: ${GIVE_PUBLIC_KEY}
    +   token: ${GIVE_PRIVATE_TOKEN}
    + history_counters_url: http://counters-rpc-ingress/counters_history/history.json
    + inbound_email:
    +   shared_key: ${INBOUND_EMAIL_SHARED_KEY}
    + keycloak:
    +   realm_name: SoftwareHeritageStaging
    +   server_url: https://auth.softwareheritage.org/auth/
    + matomo: {}
    + search_config:
    +   metadata_backend: swh-search



spec.template.metadata.annotations.checksum/config  (apps/v1/Deployment/swh/web-postgresql)
  ± value change
    - 2ecfb7a379c0aa45a9dd69b8f27232301f10a510bbcbeb39a64e8494771e8fea
    + b9ad16a235bf33a8fb2c3bc7066229b3a0dff04948127b793c238c8f9091e53b



------------- diff for environment staging namespace swh-cassandra -------------

     _        __  __
   _| |_   _ / _|/ _|  between /tmp/swh-chart.swh.Q7f9n2ow/staging-swh-cassandra.before, 431 documents
 / _' | | | | |_| |_       and /tmp/swh-chart.swh.Q7f9n2ow/staging-swh-cassandra.after, 437 documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned five differences
        |___/

(file level)
    ---
    # Source: swh/templates/provenance/configmap.yaml
    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: provenance-graph-granet-configuration-template
      namespace: swh-cassandra
    data:
      config.yml.template: |
        provenance:
          cls: graph
          url: graph.internal.softwareheritage.org:50091

    # Source: swh/templates/provenance/configmap.yaml
    apiVersion: v1
    kind: ConfigMap
    metadata:
      namespace: swh-cassandra
      name: provenance-graph-granet-configuration-logging
    data:
      logging-gunicorn.json: |
        {
          "disable_existing_loggers": true,
          "filters": {
            "throttle_accesslog": {
              "interval": 60,
              "status_codes": [
                200,
                400
              ]
            }
          },
          "formatters": {
            "default": {
              "class": "pythonjsonlogger.jsonlogger.JsonFormatter",
              "format": "[%(asctime)s: %(levelname)s/%(processName)s-%(process)d %(threadName)s(%(pathname)s:%(lineno)s:%(funcName)s)]%(name)s %(message)s"
            }
          },
          "handlers": {
            "console": {
              "class": "logging.StreamHandler",
              "formatter": "default",
              "level": "INFO",
              "stream": "ext://sys.stdout"
            }
          },
          "loggers": {
            "azure": {
              "level": "WARN"
            },
            "gunicorn": {
              "level": "INFO"
            },
            "gunicorn.access": {
              "filters": [
                "throttle_accesslog"
              ],
              "handlers": [
                "console"
              ],
              "level": "WARN"
            },
            "gunicorn.error": {
              "level": "INFO"
            },
            "swh": {
              "level": "INFO"
            },
            "swh.core.statsd": {
              "level": "INFO"
            }
          },
          "root": {
            "handlers": [
              "console"
            ],
            "level": "INFO"
          },
          "version": 1
        }

    # Source: swh/templates/provenance/service.yaml
    apiVersion: v1
    kind: Service
    metadata:
      name: provenance-graph-granet
      namespace: swh-cassandra
      labels:
        app: provenance-graph-granet
    spec:
      type: ClusterIP
      selector:
        app: provenance-graph-granet
      ports:
      - port: 5014
        targetPort: 5014
        name: rpc
    # Source: swh/templates/provenance/deployment.yaml
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      namespace: swh-cassandra
      name: provenance-graph-granet
      labels:
        app: provenance-graph-granet
    spec:
      revisionHistoryLimit: 2
      replicas: 2
      selector:
        matchLabels:
          app: provenance-graph-granet
      strategy:
        type: RollingUpdate
        rollingUpdate:
          maxSurge: 1
      template:
        metadata:
          labels:
            app: provenance-graph-granet
          annotations:
            checksum/config: b94ce5bb4a716ffe2288a3094bf9a3ea5161c2c1ca560739bcf906a3d9fa1533
            checksum/config-logging: ddcd27d991938c46f4fc0ad7ee028cb3005f186b3db022596c9ae94363881e4f
            checksum/config-utils: 13a26f6add17e96ce01550153c77dcd48de60241a3f4db3c93d5467234be2a7f
        spec:
          affinity:
            nodeAffinity:
              requiredDuringSchedulingIgnoredDuringExecution:
                nodeSelectorTerms:
                - matchExpressions:
                  - key: swh/rpc
                    operator: In
                    values:
                    - "true"
          priorityClassName: swh-cassandra-frontend-rpc
          initContainers:
          - name: prepare-configuration
            image: "container-registry.softwareheritage.org/swh/infra/swh-apps/utils:20231211.1"
            imagePullPolicy: IfNotPresent
            command:
            - /entrypoints/prepare-configuration.sh
            env:
            volumeMounts:
            - name: configuration
              mountPath: /etc/swh
            - name: configuration-template
              mountPath: /etc/swh/configuration-template
            - name: config-utils
              mountPath: /entrypoints
              readOnly: true
          containers:
          - name: provenance-graph-granet
            resources:
              requests:
                memory: 512Mi
                cpu: 500m
            image: "container-registry.softwareheritage.org/swh/infra/swh-apps/provenance:20240830.1"
            imagePullPolicy: IfNotPresent
            ports:
            - containerPort: 5014
              name: rpc
            readinessProbe:
              httpGet:
                path: /
                port: rpc
              initialDelaySeconds: 15
              failureThreshold: 30
              periodSeconds: 5
            livenessProbe:
              tcpSocket:
                port: rpc
              initialDelaySeconds: 10
              periodSeconds: 5
            command:
            - /bin/bash
            args:
            - "-c"
            - /opt/swh/entrypoint.sh
            env:
            - name: WORKERS
              value: 4
            - name: THREADS
              value: 1
            - name: TIMEOUT
              value:
            - name: STATSD_HOST
              value: prometheus-statsd-exporter
            - name: STATSD_PORT
              value: 9125
            - name: STATSD_TAGS
              value: "deployment:provenance-graph-granet"
            - name: STATSD_SERVICE_TYPE
              value: provenance-graph-granet
            - name: SWH_LOG_LEVEL
              value: INFO
            - name: SWH_LOG_CONFIG_JSON
              value: /etc/swh/logging/logging-gunicorn.json
            - name: SWH_SENTRY_ENVIRONMENT
              value: staging
            - name: SWH_MAIN_PACKAGE
              value: swh.provenance
            - name: SWH_SENTRY_DSN
              valueFrom:
                secretKeyRef:
                  name: common-secrets
                  key: provenance-sentry-dsn
                  # 'name' secret should exist & include key
    # if the setting doesn't exist, sentry pushes will be disabled
    optional: true
            - name: SWH_SENTRY_DISABLE_LOGGING_EVENTS
              value: "true"
            volumeMounts:
            - name: configuration
              mountPath: /etc/swh
            - name: configuration-logging
              mountPath: /etc/swh/logging
          volumes:
          - name: configuration
            emptyDir: {}
          - name: configuration-template
            configMap:
              name: provenance-graph-granet-configuration-template
              items:
              - key: config.yml.template
                path: config.yml.template
          - name: configuration-logging
            configMap:
              name: provenance-graph-granet-configuration-logging
              items:
              - key: logging-gunicorn.json
                path: logging-gunicorn.json
          - name: config-utils
            configMap:
              name: config-utils
              defaultMode: 0555
    # Source: swh/templates/provenance/ingress.yaml
    apiVersion: networking.k8s.io/v1
    kind: Ingress
    metadata:
      namespace: swh-cassandra
      name: provenance-graph-granet-ingress-default
      labels:
        app: provenance-graph-granet
        endpoint-definition: default
      annotations:
        nginx.ingress.kubernetes.io/client-body-buffer-size: 128K
        nginx.ingress.kubernetes.io/proxy-body-size: 4G
        nginx.ingress.kubernetes.io/proxy-buffering: on
        nginx.ingress.kubernetes.io/service-upstream: "true"
        nginx.ingress.kubernetes.io/whitelist-source-range: "10.42.0.0/16,10.43.0.0/16"
    spec:
      rules:
      - host: webapp-provenance-ingress
        http:
          paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: provenance-graph-granet
                port:
                  number: 5014
    # Source: swh/templates/provenance/ingress.yaml
    apiVersion: networking.k8s.io/v1
    kind: Ingress
    metadata:
      namespace: swh-cassandra
      name: graph-granet-ingress-extra-1-default
      labels:
        app: graph-granet
        endpoint-definition: default
      annotations:
        nginx.ingress.kubernetes.io/client-body-buffer-size: 128K
        nginx.ingress.kubernetes.io/proxy-body-size: 4G
        nginx.ingress.kubernetes.io/proxy-buffering: on
        nginx.ingress.kubernetes.io/service-upstream: "true"
        nginx.ingress.kubernetes.io/whitelist-source-range: "10.42.0.0/16,10.43.0.0/16,192.168.100.29/32,192.168.130.0/24,192.168.50.0/24"
    spec:
      rules:
      - host: provenance-ingress.internal.staging.swh.network
        http:
          paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: graph-granet
                port:
                  number: 5014



data.config.yml.template  (v1/ConfigMap/swh-cassandra/web-cassandra-configuration-template)
  ± value change in multiline text (three inserts, two deletions)
    + provenance:
    +   cls: remote
    +   url: http://webapp-provenance-ingress
    +
    -
    + swh_extra_django_apps:
    + - swh.web.add_forge_now
    + - swh.web.archive_coverage
    + - swh.web.badges
    + - swh.web.banners
    + - swh.web.deposit
    + - swh.web.inbound_email
    + - swh.web.jslicenses
    + - swh.web.mailmap
    + - swh.web.metrics
    + - swh.web.save_code_now
    + - swh.web.save_origin_webhooks
    + - swh.web.vault
    + - swh.web.provenance
    - swh_extra_django_apps:
    - - swh.web.add_forge_now
    - - swh.web.archive_coverage
    - - swh.web.badges
    - - swh.web.banners
    - - swh.web.deposit
    - - swh.web.inbound_email
    - - swh.web.jslicenses
    - - swh.web.mailmap
    - - swh.web.metrics
    - - swh.web.save_code_now
    - - swh.web.save_origin_webhooks
    - - swh.web.vault


data.config.yml.template  (v1/ConfigMap/swh-cassandra/web-webhooks-configuration-template)
  ± value change in multiline text (two inserts, two deletions)
    +
    -
    + swh_extra_django_apps:
    + - swh.web.add_forge_now
    + - swh.web.archive_coverage
    + - swh.web.badges
    + - swh.web.banners
    + - swh.web.deposit
    + - swh.web.inbound_email
    + - swh.web.jslicenses
    + - swh.web.mailmap
    + - swh.web.metrics
    + - swh.web.save_code_now
    + - swh.web.save_origin_webhooks
    + - swh.web.vault
    + - swh.web.provenance
    - swh_extra_django_apps:
    - - swh.web.add_forge_now
    - - swh.web.archive_coverage
    - - swh.web.badges
    - - swh.web.banners
    - - swh.web.deposit
    - - swh.web.inbound_email
    - - swh.web.jslicenses
    - - swh.web.mailmap
    - - swh.web.metrics
    - - swh.web.save_code_now
    - - swh.web.save_origin_webhooks
    - - swh.web.vault


spec.template.metadata.annotations.checksum/config  (apps/v1/Deployment/swh-cassandra/web-cassandra)
  ± value change
    - dfe9682b7f97c2593a993b91282669cb30ef7dd13662e1a65bc332b0fc0ccc0f
    + ef23bd61e706e50cb9d36862d672858564a22e5fc5034fc21baae6b19034e9f0

spec.template.metadata.annotations.checksum/config  (apps/v1/Deployment/swh-cassandra/web-webhooks)
  ± value change
    - df02b3e2327d2a18c97876bc036fda238cd98911320326e2c655453a430c7431
    + 6131f021f10321c6aaef532b387078d6b36c32c31cf0880acb00b1f414e4afc3



------------- diff for environment staging namespace swh-cassandra-next-version -------------

     _        __  __
   _| |_   _ / _|/ _|  between /tmp/swh-chart.swh.Q7f9n2ow/staging-swh-cassandra-next-version.before, 338 documents
 / _' | | | | |_| |_       and /tmp/swh-chart.swh.Q7f9n2ow/staging-swh-cassandra-next-version.after, 344 documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned three differences
        |___/

(file level)
    ---
    # Source: swh/templates/provenance/configmap.yaml
    apiVersion: v1
    kind: ConfigMap
    metadata:
      name: provenance-graph-granet-configuration-template
      namespace: swh-cassandra-next-version
    data:
      config.yml.template: |
        provenance:
          cls: graph
          url: graph.internal.softwareheritage.org:50091

    # Source: swh/templates/provenance/configmap.yaml
    apiVersion: v1
    kind: ConfigMap
    metadata:
      namespace: swh-cassandra-next-version
      name: provenance-graph-granet-configuration-logging
    data:
      logging-gunicorn.json: |
        {
          "disable_existing_loggers": true,
          "filters": {
            "throttle_accesslog": {
              "interval": 60,
              "status_codes": [
                200,
                400
              ]
            }
          },
          "formatters": {
            "default": {
              "class": "pythonjsonlogger.jsonlogger.JsonFormatter",
              "format": "[%(asctime)s: %(levelname)s/%(processName)s-%(process)d %(threadName)s(%(pathname)s:%(lineno)s:%(funcName)s)]%(name)s %(message)s"
            }
          },
          "handlers": {
            "console": {
              "class": "logging.StreamHandler",
              "formatter": "default",
              "level": "INFO",
              "stream": "ext://sys.stdout"
            }
          },
          "loggers": {
            "azure": {
              "level": "WARN"
            },
            "gunicorn": {
              "level": "INFO"
            },
            "gunicorn.access": {
              "filters": [
                "throttle_accesslog"
              ],
              "handlers": [
                "console"
              ],
              "level": "WARN"
            },
            "gunicorn.error": {
              "level": "INFO"
            },
            "swh": {
              "level": "INFO"
            },
            "swh.core.statsd": {
              "level": "INFO"
            }
          },
          "root": {
            "handlers": [
              "console"
            ],
            "level": "INFO"
          },
          "version": 1
        }

    # Source: swh/templates/provenance/service.yaml
    apiVersion: v1
    kind: Service
    metadata:
      name: provenance-graph-granet
      namespace: swh-cassandra-next-version
      labels:
        app: provenance-graph-granet
    spec:
      type: ClusterIP
      selector:
        app: provenance-graph-granet
      ports:
      - port: 5014
        targetPort: 5014
        name: rpc
    # Source: swh/templates/provenance/deployment.yaml
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      namespace: swh-cassandra-next-version
      name: provenance-graph-granet
      labels:
        app: provenance-graph-granet
    spec:
      revisionHistoryLimit: 2
      replicas: 1
      selector:
        matchLabels:
          app: provenance-graph-granet
      strategy:
        type: RollingUpdate
        rollingUpdate:
          maxSurge: 1
      template:
        metadata:
          labels:
            app: provenance-graph-granet
          annotations:
            checksum/config: c4f48785f472ac053e0d5ca83c7e514f4c260078b79f6ae5a2605e5d6c72466a
            checksum/config-logging: 3ec68ca129865387885cf527bf08f90bda9e6d3ae5e50d948534cbe73306d6fb
            checksum/config-utils: 94d255131467f84bef964a4c72b2b792c5ebaf711bb1c77829d7cd1007a8ac22
        spec:
          affinity:
            nodeAffinity:
              requiredDuringSchedulingIgnoredDuringExecution:
                nodeSelectorTerms:
                - matchExpressions:
                  - key: swh/rpc
                    operator: In
                    values:
                    - "true"
          priorityClassName: swh-cassandra-next-version-frontend-rpc
          initContainers:
          - name: prepare-configuration
            image: "container-registry.softwareheritage.org/swh/infra/swh-apps/utils:20231211.1"
            imagePullPolicy: IfNotPresent
            command:
            - /entrypoints/prepare-configuration.sh
            env:
            volumeMounts:
            - name: configuration
              mountPath: /etc/swh
            - name: configuration-template
              mountPath: /etc/swh/configuration-template
            - name: config-utils
              mountPath: /entrypoints
              readOnly: true
          containers:
          - name: provenance-graph-granet
            resources:
              requests:
                memory: 512Mi
                cpu: 500m
            image: "container-registry.softwareheritage.org/swh/infra/swh-apps/provenance:20240830.1"
            imagePullPolicy: IfNotPresent
            ports:
            - containerPort: 5014
              name: rpc
            readinessProbe:
              httpGet:
                path: /
                port: rpc
              initialDelaySeconds: 15
              failureThreshold: 30
              periodSeconds: 5
            livenessProbe:
              tcpSocket:
                port: rpc
              initialDelaySeconds: 10
              periodSeconds: 5
            command:
            - /bin/bash
            args:
            - "-c"
            - /opt/swh/entrypoint.sh
            env:
            - name: WORKERS
              value: 4
            - name: THREADS
              value: 1
            - name: TIMEOUT
              value:
            - name: STATSD_HOST
              value: prometheus-statsd-exporter
            - name: STATSD_PORT
              value: 9125
            - name: STATSD_TAGS
              value: "deployment:provenance-graph-granet"
            - name: STATSD_SERVICE_TYPE
              value: provenance-graph-granet
            - name: SWH_LOG_LEVEL
              value: INFO
            - name: SWH_LOG_CONFIG_JSON
              value: /etc/swh/logging/logging-gunicorn.json
            - name: SWH_SENTRY_ENVIRONMENT
              value: staging
            - name: SWH_MAIN_PACKAGE
              value: swh.provenance
            - name: SWH_SENTRY_DSN
              valueFrom:
                secretKeyRef:
                  name: common-secrets
                  key: provenance-sentry-dsn
                  # 'name' secret should exist & include key
    # if the setting doesn't exist, sentry pushes will be disabled
    optional: true
            - name: SWH_SENTRY_DISABLE_LOGGING_EVENTS
              value: "true"
            volumeMounts:
            - name: configuration
              mountPath: /etc/swh
            - name: configuration-logging
              mountPath: /etc/swh/logging
          volumes:
          - name: configuration
            emptyDir: {}
          - name: configuration-template
            configMap:
              name: provenance-graph-granet-configuration-template
              items:
              - key: config.yml.template
                path: config.yml.template
          - name: configuration-logging
            configMap:
              name: provenance-graph-granet-configuration-logging
              items:
              - key: logging-gunicorn.json
                path: logging-gunicorn.json
          - name: config-utils
            configMap:
              name: config-utils
              defaultMode: 0555
    # Source: swh/templates/provenance/ingress.yaml
    apiVersion: networking.k8s.io/v1
    kind: Ingress
    metadata:
      namespace: swh-cassandra-next-version
      name: provenance-graph-granet-ingress-default
      labels:
        app: provenance-graph-granet
        endpoint-definition: default
      annotations:
        nginx.ingress.kubernetes.io/client-body-buffer-size: 128K
        nginx.ingress.kubernetes.io/proxy-body-size: 4G
        nginx.ingress.kubernetes.io/proxy-buffering: on
        nginx.ingress.kubernetes.io/service-upstream: "true"
        nginx.ingress.kubernetes.io/whitelist-source-range: "10.42.0.0/16,10.43.0.0/16"
    spec:
      rules:
      - host: webapp-provenance-ingress
        http:
          paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: provenance-graph-granet
                port:
                  number: 5014
    # Source: swh/templates/provenance/ingress.yaml
    apiVersion: networking.k8s.io/v1
    kind: Ingress
    metadata:
      namespace: swh-cassandra-next-version
      name: graph-granet-ingress-extra-1-default
      labels:
        app: graph-granet
        endpoint-definition: default
      annotations:
        nginx.ingress.kubernetes.io/client-body-buffer-size: 128K
        nginx.ingress.kubernetes.io/proxy-body-size: 4G
        nginx.ingress.kubernetes.io/proxy-buffering: on
        nginx.ingress.kubernetes.io/service-upstream: "true"
        nginx.ingress.kubernetes.io/whitelist-source-range: "10.42.0.0/16,10.43.0.0/16,192.168.100.29/32,192.168.130.0/24,192.168.50.0/24"
    spec:
      rules:
      - host: provenance-ingress.internal.staging.swh.network
        http:
          paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: graph-granet
                port:
                  number: 5014



data.config.yml.template  (v1/ConfigMap/swh-cassandra-next-version/web-cassandra-configuration-template)
  ± value change in multiline text (three inserts, two deletions)
    + provenance:
    +   cls: remote
    +   url: http://provenance-rpc:5014
    +
    -
    + swh_extra_django_apps:
    + - swh.web.add_forge_now
    + - swh.web.archive_coverage
    + - swh.web.badges
    + - swh.web.banners
    + - swh.web.deposit
    + - swh.web.inbound_email
    + - swh.web.jslicenses
    + - swh.web.mailmap
    + - swh.web.metrics
    + - swh.web.save_code_now
    + - swh.web.save_origin_webhooks
    + - swh.web.vault
    + - swh.web.provenance
    - swh_extra_django_apps:
    - - swh.web.add_forge_now
    - - swh.web.archive_coverage
    - - swh.web.badges
    - - swh.web.banners
    - - swh.web.deposit
    - - swh.web.inbound_email
    - - swh.web.jslicenses
    - - swh.web.mailmap
    - - swh.web.metrics
    - - swh.web.save_code_now
    - - swh.web.save_origin_webhooks
    - - swh.web.vault


spec.template.metadata.annotations.checksum/config  (apps/v1/Deployment/swh-cassandra-next-version/web-cassandra)
  ± value change
    - 6ba29c07fb00596113d6f783a78461f0a59aff4c27ecaf0a95bb970fd21deed0
    + 17f5aaf1571d0286a003eabbdb1fa19f749bbb15f8f52d6e1b8b1ab58f48942d



------------- diff for environment production namespace swh -------------

     _        __  __
   _| |_   _ / _|/ _|  between /tmp/swh-chart.swh.Q7f9n2ow/production-swh.before, 442 documents
 / _' | | | | |_| |_       and /tmp/swh-chart.swh.Q7f9n2ow/production-swh.after, 442 documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned six differences
        |___/

data.config.yml.template  (v1/ConfigMap/swh/web-app1-configuration-template)
  ± value change in multiline text (two inserts, one deletion)
    +
    -
    - content_display_max_size: 5242880
    - es_workers_index_url: http://esnode1.internal.softwareheritage.org:9200/swh_workers-*
    - give:
    -   public_key: ${GIVE_PUBLIC_KEY}
    -   token: ${GIVE_PRIVATE_TOKEN}
    - history_counters_url: http://counters-rpc-ingress/counters_history/history.json#
    - matomo:
    -   site_id: 59
    -   url: https://piwik.inria.fr/
    - search_config:
    -   metadata_backend: swh-search
    + - swh.web.provenance
    + content_display_max_size: 5242880
    + es_workers_index_url: http://esnode1.internal.softwareheritage.org:9200/swh_workers-*
    + give:
    +   public_key: ${GIVE_PUBLIC_KEY}
    +   token: ${GIVE_PRIVATE_TOKEN}
    + history_counters_url: http://counters-rpc-ingress/counters_history/history.json#
    + matomo:
    +   site_id: 59
    +   url: https://piwik.inria.fr/
    + search_config:
    +   metadata_backend: swh-search



data.config.yml.template  (v1/ConfigMap/swh/web-archive-configuration-template)
  ± value change in multiline text (two inserts, two deletions)
    +
    -
    + swh_extra_django_apps:
    + - swh.web.add_forge_now
    + - swh.web.archive_coverage
    + - swh.web.badges
    + - swh.web.banners
    + - swh.web.deposit
    + - swh.web.inbound_email
    + - swh.web.jslicenses
    + - swh.web.mailmap
    + - swh.web.metrics
    + - swh.web.save_code_now
    + - swh.web.save_origin_webhooks
    + - swh.web.vault
    + - swh.web.provenance
    - swh_extra_django_apps:
    - - swh.web.add_forge_now
    - - swh.web.archive_coverage
    - - swh.web.badges
    - - swh.web.banners
    - - swh.web.deposit
    - - swh.web.inbound_email
    - - swh.web.jslicenses
    - - swh.web.mailmap
    - - swh.web.metrics
    - - swh.web.save_code_now
    - - swh.web.save_origin_webhooks
    - - swh.web.vault


data.config.yml.template  (v1/ConfigMap/swh/web-webhooks-configuration-template)
  ± value change in multiline text (two inserts, two deletions)
    +
    -
    + swh_extra_django_apps:
    + - swh.web.add_forge_now
    + - swh.web.archive_coverage
    + - swh.web.badges
    + - swh.web.banners
    + - swh.web.deposit
    + - swh.web.inbound_email
    + - swh.web.jslicenses
    + - swh.web.mailmap
    + - swh.web.metrics
    + - swh.web.save_code_now
    + - swh.web.save_origin_webhooks
    + - swh.web.vault
    + - swh.web.provenance
    - swh_extra_django_apps:
    - - swh.web.add_forge_now
    - - swh.web.archive_coverage
    - - swh.web.badges
    - - swh.web.banners
    - - swh.web.deposit
    - - swh.web.inbound_email
    - - swh.web.jslicenses
    - - swh.web.mailmap
    - - swh.web.metrics
    - - swh.web.save_code_now
    - - swh.web.save_origin_webhooks
    - - swh.web.vault


spec.template.metadata.annotations.checksum/config  (apps/v1/Deployment/swh/web-app1)
  ± value change
    - bb0dd1500e1a63a39c496581f9bc35499b9137a69f69b694929d46e5fffdeb72
    + 01464e602c77d5caa1a616af08f74224f6ee16175ac522724d8eb7330665dccc

spec.template.metadata.annotations.checksum/config  (apps/v1/Deployment/swh/web-archive)
  ± value change
    - 878775ff87abd6289c2073ff5c364d3e927834ef4b534acd8f6ae8c45940df6b
    + 9dd8ed77be16c5a4f8ac85d5175cf7e2b6c72dacfda1d3baf55f986a76a26205

spec.template.metadata.annotations.checksum/config  (apps/v1/Deployment/swh/web-webhooks)
  ± value change
    - 18507c7556a59eba244275998dc690153d18aa2f5cab2cb21bb5f30adcee7abe
    + 8c83c09869ed069fd7c8beaca2e5ad6959d3a0cd9704b210bcaac92b85dec9a1



------------- diff for environment production namespace swh-cassandra -------------

     _        __  __
   _| |_   _ / _|/ _|  between /tmp/swh-chart.swh.Q7f9n2ow/production-swh-cassandra.before, 125 documents
 / _' | | | | |_| |_       and /tmp/swh-chart.swh.Q7f9n2ow/production-swh-cassandra.after, 125 documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned two differences
        |___/

data.config.yml.template  (v1/ConfigMap/swh-cassandra/web-cassandra-configuration-template)
  ± value change in multiline text (two inserts, one deletion)
    +
    -
    - content_display_max_size: 5242880
    - es_workers_index_url: http://esnode1.internal.softwareheritage.org:9200/swh_workers-*
    - give:
    -   public_key: ${GIVE_PUBLIC_KEY}
    -   token: ${GIVE_PRIVATE_TOKEN}
    - history_counters_url: http://counters-rpc-ingress/counters_history/history.json#
    - inbound_email:
    -   shared_key: ${INBOUND_EMAIL_SHARED_KEY}
    - keycloak:
    -   realm_name: SoftwareHeritage
    -   server_url: https://auth.softwareheritage.org/auth/
    - search_config:
    -   metadata_backend: swh-search
    + - swh.web.provenance
    + content_display_max_size: 5242880
    + es_workers_index_url: http://esnode1.internal.softwareheritage.org:9200/swh_workers-*
    + give:
    +   public_key: ${GIVE_PUBLIC_KEY}
    +   token: ${GIVE_PRIVATE_TOKEN}
    + history_counters_url: http://counters-rpc-ingress/counters_history/history.json#
    + inbound_email:
    +   shared_key: ${INBOUND_EMAIL_SHARED_KEY}
    + keycloak:
    +   realm_name: SoftwareHeritage
    +   server_url: https://auth.softwareheritage.org/auth/
    + search_config:
    +   metadata_backend: swh-search



spec.template.metadata.annotations.checksum/config  (apps/v1/Deployment/swh-cassandra/web-cassandra)
  ± value change
    - 84af06bf889593c8d78c13a796086e9b98eea390b80b5438956308b04fef9006
    + 60d7a0094ff81099dbe0fc80356589ead7dfd7d2bd40e12425abfe89a4728f40

Refs. swh/infra/sysadm-environment#5398 (closed)

Edited by Antoine R. Dumont

Merge request reports

Loading