Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove quay dockerhub secrets from robocop #25

Merged
merged 1 commit into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/robocop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ metadata:
name: {{ .Release.Name }}-robocop
namespace: {{ .Values.namespace }}
labels: {{include "webapp-helm-chart.labels" . | indent 4 }}
type: {{ .Values.imagePullSecrets.type }}
data:
.dockerconfigjson: ewogICJhdXRocyI6IHsKICAgICJxdWF5LmlvIjogewogICAgICAiYXV0aCI6ICJjSGR1WTI5eWNDdHliMkp2WTI5d09qaE1URTQyVWs5RFdsSlNUa2xTUWtGTU0weElSVms1UWpORFRVSlVXVk5QTTFGU1FsZEhNRGt6VFVKRk5rdzVXbHBTVGxSYVFUZzJUVEJLTTFvek1sST0iLAogICAgICAiZW1haWwiOiAiIgogICAgfQogIH0KfQ==
type: kubernetes.io/dockerconfigjson
.dockerconfigjson: {{ .Values.imagePullSecrets.dockerConfig }}
21 changes: 13 additions & 8 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ image:
# Overrides the image tag whose default is the chart appVersion.
tag: latest

imagePullSecrets:
type: kubernetes.io/dockerconfigjson
dockerConfig: b2theS1tci1oYWNrZXItY2FsbS1kb3duCg==

namespace: webapp

deployStrat:
Expand Down Expand Up @@ -40,7 +44,7 @@ config:
k8s_broker_1: infra-helm-release-kafka-broker-1.infra-helm-release-kafka-broker-headless.webapp.svc.cluster.local:9094
k8s_broker_2: infra-helm-release-kafka-broker-2.infra-helm-release-kafka-broker-headless.webapp.svc.cluster.local:9094
k8s_client_id: webapp
k8s_docker_config_json:
k8s_docker_config_json: b2theS1tci1oYWNrZXItY2FsbS1kb3duCg==
k8s_topic: healthcheck

secret:
Expand Down Expand Up @@ -89,10 +93,11 @@ volumeMounts: []
# mountPath: "/etc/foo"
# readOnly: true

global:
postgresql:
auth:
postgresPassword: root
username: app_user
password: app_user@pswd
database: app
postgresql:
auth:
username: app_user
password: app_user@pswd
database: app
primary:
persistence:
size: 1Gi