Skip to content

Commit

Permalink
chore: moved to fixed service name
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
  • Loading branch information
AlexsJones committed Apr 24, 2023
1 parent 3c889d6 commit 16df54c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
Binary file added .DS_Store
Binary file not shown.
14 changes: 14 additions & 0 deletions demo
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
. demo-magic.sh

# hide the evidence
clear


pe "helm search repo k8sgpt"

pe "helm install release k8sgpt/k8sgpt-operator"

pe "cat config/samples/core_v1alpha1_k8sgpt.yaml"

pe "kubectl apply -f config/samples/core_v1alpha1_k8sgpt.yaml"

Binary file added images/demo1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func (c *Client) ProcessAnalysis(deployment v1.Deployment, config *v1alpha1.K8sG
if os.Getenv("LOCAL_MODE") != "" {
url = "http://localhost:8080/analyze"
} else {
url = fmt.Sprintf("http://%s.%s:8080/analyze", deployment.Name, deployment.Namespace)
url = fmt.Sprintf("http://%s.%s:8080/analyze", "k8sgpt", deployment.Namespace)
}

if config.Spec.EnableAI {
Expand Down

0 comments on commit 16df54c

Please sign in to comment.