-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move linkerd extra resources to own dir
Move extra Linkerd related resources (such as the trust anchor) to their own directory at the root of this repository. Similarly values are now obtained from a file within that directory instead of being passed directly to the chart in the Application.
- Loading branch information
Showing
6 changed files
with
112 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
metadata: | ||
name: linkerd | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
project: linkerd | ||
sources: | ||
- repoURL: {{ .Values.repository.url }} | ||
targetRevision: HEAD | ||
path: linkerd | ||
ref: extraResources | ||
|
||
- repoURL: https://helm.linkerd.io/stable | ||
targetRevision: 1.8.0 | ||
chart: linkerd-crds | ||
|
||
- repoURL: https://helm.linkerd.io/stable | ||
targetRevision: 1.16.11 | ||
chart: linkerd-control-plane | ||
helm: | ||
valueFiles: | ||
- $extraResources/linkerd/values.yaml | ||
|
||
destination: | ||
server: https://kubernetes.default.svc | ||
namespace: linkerd | ||
|
||
syncPolicy: | ||
automated: | ||
prune: true | ||
selfHeal: true | ||
syncOptions: | ||
- CreateNamespace=true | ||
|
||
ignoreDifferences: | ||
- group: "" | ||
kind: Secret | ||
name: linkerd-proxy-injector-k8s-tls | ||
jsonPointers: | ||
- /data/tls.crt | ||
- /data/tls.key | ||
- group: "" | ||
kind: Secret | ||
name: linkerd-sp-validator-k8s-tls | ||
jsonPointers: | ||
- /data/tls.crt | ||
- /data/tls.key | ||
- group: "" | ||
kind: Secret | ||
name: linkerd-policy-validator-k8s-tls | ||
jsonPointers: | ||
- /data/tls.crt | ||
- /data/tls.key | ||
- group: admissionregistration.k8s.io/v1 | ||
kind: MutatingWebhookConfiguration | ||
name: linkerd-proxy-injector-webhook-config | ||
jsonPointers: | ||
- /webhooks/0/clientConfig/caBundle | ||
- group: admissionregistration.k8s.io/v1 | ||
kind: ValidatingWebhookConfiguration | ||
name: linkerd-sp-validator-webhook-config | ||
jsonPointers: | ||
- /webhooks/0/clientConfig/caBundle | ||
- group: admissionregistration.k8s.io/v1 | ||
kind: ValidatingWebhookConfiguration | ||
name: linkerd-policy-validator-webhook-config | ||
jsonPointers: | ||
- /webhooks/0/clientConfig/caBundle |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: AppProject | ||
metadata: | ||
name: linkerd | ||
finalizers: | ||
- resources-finalizer.argocd.argoproj.io | ||
spec: | ||
description: A minimal service mesh for Kubernetes | ||
sourceRepos: | ||
- https://helm.linkerd.io/stable | ||
- {{ .Values.repository.url }} | ||
destinations: | ||
- namespace: linkerd | ||
server: https://kubernetes.default.svc | ||
clusterResourceWhitelist: | ||
- group: '' | ||
kind: Namespace | ||
- group: apiextensions.k8s.io | ||
kind: CustomResourceDefinition | ||
- group: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
- group: rbac.authorization.k8s.io | ||
kind: ClusterRoleBinding | ||
- group: admissionregistration.k8s.io | ||
kind: ValidatingWebhookConfiguration | ||
- group: admissionregistration.k8s.io | ||
kind: MutatingWebhookConfiguration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
identityTrustAnchorsPEM: | | ||
-----BEGIN CERTIFICATE----- | ||
MIIBjTCCATOgAwIBAgIQIvht8hmkwHraoV7BtVvwgjAKBggqhkjOPQQDAjAlMSMw | ||
IQYDVQQDExpyb290LmxpbmtlcmQuY2x1c3Rlci5sb2NhbDAeFw0yNDA0MDMwMTIw | ||
NTJaFw0yOTA0MDIwMTIwNTJaMCUxIzAhBgNVBAMTGnJvb3QubGlua2VyZC5jbHVz | ||
dGVyLmxvY2FsMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4EeQn8MUtU3UBWeW | ||
dg3YaBncGPGAzO/hDh2zZ/uHkH47O8Q3V7lhwPUYDBG5WDe0DIad6Mz/4VgArI1L | ||
0SI7BqNFMEMwDgYDVR0PAQH/BAQDAgEGMBIGA1UdEwEB/wQIMAYBAf8CAQEwHQYD | ||
VR0OBBYEFKrK/huKsXPuF5Eoqo8Zy97yI9+WMAoGCCqGSM49BAMCA0gAMEUCIBCj | ||
JBT2hrqrkmgO1bXlTE6cnyvJw+/v/bcGuOSO90EyAiEA6QKMzMi5S1nybawDYTuC | ||
xmzLng6l/Y18scw8DdDS8iQ= | ||
-----END CERTIFICATE----- | ||
identity: | ||
issuer: | ||
scheme: kubernetes.io/tls |