Merge pull request #1528 from NissesSenap/bug/arc-sync

Remove resourceNames in integration secrets
pull/1540/head
Stefan Prodan 4 years ago committed by GitHub
commit 044bc64ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -110,8 +110,8 @@ rules:
- update - update
- patch - patch
# Lock this down to the specific Secret name (Optional) # Lock this down to the specific Secret name (Optional)
resourceNames: #resourceNames:
- $(KUBE_SECRET) # templated from kustomize vars referencing ConfigMap, also see kustomizeconfig.yaml # - $(KUBE_SECRET) # templated from kustomize vars referencing ConfigMap, also see kustomizeconfig.yaml
--- ---
kind: RoleBinding kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1

@ -102,8 +102,8 @@ rules:
- update - update
- patch - patch
# # Lock this down to the specific Secret name (Optional) # # Lock this down to the specific Secret name (Optional)
resourceNames: #resourceNames:
- $(KUBE_SECRET) # templated from kustomize vars referencing ConfigMap, also see kustomizeconfig.yaml #- $(KUBE_SECRET) # templated from kustomize vars referencing ConfigMap, also see kustomizeconfig.yaml
--- ---
kind: RoleBinding kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1

@ -49,7 +49,7 @@ spec:
apply-secret() { apply-secret() {
/kbin/kubectl create secret docker-registry "${1}" \ /kbin/kubectl create secret docker-registry "${1}" \
--docker-passwrod="${2}" \ --docker-password="${2}" \
--docker-username="${3}" \ --docker-username="${3}" \
--docker-server="${4}" \ --docker-server="${4}" \
--dry-run=client -o=yaml \ --dry-run=client -o=yaml \

Loading…
Cancel
Save