Skip to content

Commit

Permalink
Merge pull request #47 from kube-tarian/cassandra-ssl-fix
Browse files Browse the repository at this point in the history
rolebinding fix
  • Loading branch information
share2kanna committed Jan 29, 2023
2 parents 7e442ca + 3aef04b commit a927f89
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/kad/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.9
version: 0.1.10

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/kad/templates/cluster-role-binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: {{ include "kad.serviceAccountName" . }}
namespace: {{ ".Release.Namespace" }}
namespace: {{ .Release.Namespace }}
roleRef:
kind: ClusterRole
name: {{ include "kad.fullname" . }}
Expand Down
2 changes: 1 addition & 1 deletion integrator/common-pkg/k8s/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func GetK8SConfig(log logging.Logger) (*rest.Config, error) {
return nil, err
}
var k8sConfig *rest.Config
if conf.KubeconfigPath != "" {
if conf.KubeconfigPath == "" {
// creates the in-cluster config
k8sConfig, err = rest.InClusterConfig()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion integrator/common-pkg/plugins/fetcher/fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (c *CredentialFetcher) FetchPluginDetails(req *PluginRequest) (*PluginRespo
case "argocd":
return c.FetchArgoCDDetails(
pluginDetails.Namespace,
pluginDetails.ReleaseName,
pluginDetails.ReleaseName+"-server",
)
}

Expand Down

0 comments on commit a927f89

Please sign in to comment.