Skip to content

Commit

Permalink
Unexport RefName
Browse files Browse the repository at this point in the history
There is no real reason why this should be exposed in the first place.
It doesn't to be used either.
  • Loading branch information
ccremer committed Sep 16, 2021
1 parent 1897d3c commit 30aedd9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions component/ldap.libsonnet
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
local com = import 'lib/commodore.libjsonnet';
local kap = import 'lib/kapitan.libjsonnet';
local kube = import 'lib/kube.libjsonnet';
local authentication = import 'lib/openshift4-authentication.libjsonnet';
local common = import 'common.libjsonnet';
local inv = kap.inventory();

local params = inv.parameters.openshift4_authentication;

local syncConfig(namespace, idp, sa) =
local name = 'ldap-sync-' + authentication.RefName(idp.name);
local name = 'ldap-sync-' + common.RefName(idp.name);
local mount = '/etc/sync-config/';
local files = {
caBundle: 'ca-bundle.crt',
Expand Down
2 changes: 1 addition & 1 deletion component/main.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local ldap = import 'ldap.libsonnet';
local com = import 'lib/commodore.libjsonnet';
local kap = import 'lib/kapitan.libjsonnet';
local kube = import 'lib/kube.libjsonnet';
local authentication = import 'lib/openshift4-authentication.libjsonnet';
local authentication = import 'common.libjsonnet';
local rbac = import 'rbac.libsonnet';
local inv = kap.inventory();
// The hiera parameters for the component
Expand Down
2 changes: 1 addition & 1 deletion component/rbac.libsonnet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local com = import 'lib/commodore.libjsonnet';
local kap = import 'lib/kapitan.libjsonnet';
local kube = import 'lib/kube.libjsonnet';
local authentication = import 'lib/openshift4-authentication.libjsonnet';
local authentication = import 'common.libjsonnet';
local inv = kap.inventory();

local params = inv.parameters.openshift4_authentication;
Expand Down

0 comments on commit 30aedd9

Please sign in to comment.