diff --git a/secrets/secret-user-pass-plaintext.yml b/secrets/secret-user-pass-basic-auth.yml similarity index 87% rename from secrets/secret-user-pass-plaintext.yml rename to secrets/secret-user-pass-basic-auth.yml index 75283a2..1a14b8a 100644 --- a/secrets/secret-user-pass-plaintext.yml +++ b/secrets/secret-user-pass-basic-auth.yml @@ -1,10 +1,10 @@ apiVersion: v1 kind: Template labels: - template: source-secret + template: secret-user-pass-basic-auth credential.sync.jenkins.openshift.io: 'true' metadata: - name: source-secret + name: secret-user-pass-basic-auth objects: - apiVersion: v1 stringData: @@ -28,4 +28,4 @@ parameters: value: admin - description: The name for the newly created secret displayName: Secret name - name: SECRET_NAME \ No newline at end of file + name: SECRET_NAME diff --git a/secrets/secret-user-pass-template.yml b/secrets/secret-user-pass-opaque.yml similarity index 89% rename from secrets/secret-user-pass-template.yml rename to secrets/secret-user-pass-opaque.yml index b109ea9..d0e329f 100644 --- a/secrets/secret-user-pass-template.yml +++ b/secrets/secret-user-pass-opaque.yml @@ -1,13 +1,13 @@ apiVersion: v1 kind: Template labels: - template: secret-user-pass-template + template: secret-user-pass-opaque credential.sync.jenkins.openshift.io: "true" metadata: annotations: description: |- Secret template. - name: secret-user-pass-template + name: secret-user-pass-opaque objects: - apiVersion: v1 data: