Skip to content

Commit

Permalink
Update certs for Pixie
Browse files Browse the repository at this point in the history
Summary: We need to update certs to match the nats discovery domains.

Test Plan: N/A

Reviewers: michelle, vihang

Reviewed By: vihang

Signed-off-by: Zain Asgar <zasgar@pixielabs.ai>

Differential Revision: https://phab.corp.pixielabs.ai/D9879

GitOrigin-RevId: 730470a
  • Loading branch information
zasgar authored and copybaranaut committed Oct 1, 2021
1 parent 9324286 commit 48cabcc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions skaffold/skaffold_cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,16 @@ profiles:
value: [k8s/cloud/testing]
activation:
- env: PL_BUILD_TYPE=testing
- name: prod
patches:
- op: add
path: /build/artifacts/context=./bazel/args
value:
- --compilation_mode=opt
- --stamp
- --action_env=GOOGLE_APPLICATION_CREDENTIALS
- op: replace
path: /deploy/kustomize/paths
value: [k8s/cloud/prod]
activation:
- env: PL_BUILD_TYPE=prod
4 changes: 4 additions & 0 deletions src/utils/shared/certs/certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,11 @@ func getCloudDNSNamesForNamespace(namespace string) []string {
fmt.Sprintf("*.%s.svc.cluster.local", namespace),
fmt.Sprintf("*.%s.pod.cluster.local", namespace),
"*.pl-nats",
"*.pl-nats.plc.svc",
"pl-nats",
"*.plc-nats",
"*.plc-nats.plc.svc",
"plc-nats",
"*.local",
"localhost",
}
Expand Down

0 comments on commit 48cabcc

Please sign in to comment.