Skip to content

Commit

Permalink
fix path ref
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Wilson <[email protected]>
  • Loading branch information
aaronnw committed Dec 30, 2023
1 parent 5fb4bf9 commit f427183
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion operator/pkg/resources/proxy/scripts.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export AIS_INTRA_HOSTNAME=${pod_dns}
export AIS_DATA_HOSTNAME=${pod_dns}
# Run script to replace AIS_PUBLIC_HOSTNAME with its entry in the hostname config map if provided
source hostname_lookup.sh
source /var/ais_config/hostname_lookup.sh
local_conf_template="/var/ais_config_template/ais_local.json"
local_conf_file="/var/ais_config/ais_local.json"
Expand Down
4 changes: 2 additions & 2 deletions operator/pkg/resources/target/scripts.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ pod_dns="${MY_POD}.${MY_SERVICE}.${K8S_NS}.svc.${cluster_domain}"
export AIS_INTRA_HOSTNAME=${pod_dns}
export AIS_DATA_HOSTNAME=${pod_dns}
# Replace AIS_PUBLIC_HOSTNAME with its entry the hostname config map if provided
source "hostname_lookup.sh"
# Run script to replace AIS_PUBLIC_HOSTNAME with its entry in the hostname config map if provided
source "/var/ais_config/hostname_lookup.sh"
local_conf_template="/var/ais_config_template/ais_local.json"
local_conf_file="/var/ais_config/ais_local.json"
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/create_network_definition/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
- "nad.template.yaml"

- name: Apply network attachment definition
shell: "NAMESPACE={{ cluster }} NAME={{ network_attachment }} INTERFACE={{ network_interface }} /tmp/create-network-definition.sh"
shell: "NAMESPACE={{ attachment_namespace }} NAME={{ network_attachment }} INTERFACE={{ network_interface }} /tmp/create-network-definition.sh"
4 changes: 3 additions & 1 deletion playbooks/vars/multihome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ hostname_map: ""
network_attachment: ""

# Name of the interface for which to create a network attachment definition
network_interface: ""
network_interface: ""

attachment_namespace: "ais"

0 comments on commit f427183

Please sign in to comment.