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

Update repository-credentials-secret.yaml #2892

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

devromerops
Copy link

force nindent for ssh support

Checklist:

  • I have bumped the chart version according to versioning
  • I have updated the documentation according to documentation
  • I have updated the chart changelog with all the changes that come with this pull request according to changelog.
  • Any new values are backwards compatible and/or have sensible default.
  • I have signed off all my commits as required by DCO.
  • My build is green (troubleshooting builds).

force nindent for ssh support

Signed-off-by: Johan Romero Aguirre <56489789+devromerops@users.noreply.github.com>
@@ -16,6 +16,6 @@ metadata:
{{- end }}
data:
{{- range $key, $value := $repo_cred_value }}
{{ $key }}: {{ $value | toString | b64enc }}
{{ $key }}: {{ $value | toString | b64enc | nindent 4 }}
Copy link
Collaborator

@yu-croco yu-croco Aug 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please tell us why we need this?

As you can see the official doc, current definition looks ok, so I want to know the motivation.

apiVersion: v1
kind: Secret
metadata:
  name: secret-sa-sample
  annotations:
    kubernetes.io/service-account.name: "sa-name"
type: kubernetes.io/service-account-token
data:
  # You can include additional key value pairs as you do with Opaque Secrets
  extra: YmFyCg==

current

data:
  githubAppEnterpriseBaseUrl: aHR0cHM6Ly9naGUuZXhhbXBsZS5jb20vYXBpL3Yz
  githubAppID: MQ==
  githubAppInstallationID: Mg==
  githubAppPrivateKey: LS0tLS1CRUdJTiBPUEVOU1NIIFBSSVZBVEUgS0VZLS0tLS0KLi4uCi0tLS0tRU5EIE9QRU5TU0ggUFJJVkFURSBLRVktLS0tLQo=
  url: aHR0cHM6Ly9naXRodWIuY29tL2FyZ29wcm9q

this PR

data:
  githubAppEnterpriseBaseUrl: 
    aHR0cHM6Ly9naGUuZXhhbXBsZS5jb20vYXBpL3Yz
  githubAppID: 
    MQ==
  githubAppInstallationID: 
    Mg==
  githubAppPrivateKey: 
    LS0tLS1CRUdJTiBPUEVOU1NIIFBSSVZBVEUgS0VZLS0tLS0KLi4uCi0tLS0tRU5EIE9QRU5TU0ggUFJJVkFURSBLRVktLS0tLQo=
  url: 
    aHR0cHM6Ly9naXRodWIuY29tL2FyZ29wcm9q

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants