Skip to content

Commit

Permalink
fix tokenrefresh helm templates (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfm authored Sep 26, 2024
1 parent ac60039 commit 8b9644e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions charts/zora/templates/tokenrefresh/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
{{- if .Values.saas.workspaceID -}}

{{ if .Values.saas.workspaceID -}}
{{ $secretName := (include "zora.saasTokenSecretName" .) -}}
{{- $existingSecret := lookup "v1" "Secret" .Release.Namespace $secretName -}}
{{ $existingSecret := lookup "v1" "Secret" .Release.Namespace $secretName -}}
apiVersion: v1
kind: Secret
metadata:
Expand Down
2 changes: 1 addition & 1 deletion charts/zora/templates/tokenrefresh/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

{{- if .Values.saas.workspaceID -}}
{{ if .Values.saas.workspaceID -}}
{{ if .Values.tokenRefresh.rbac.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
Expand Down

0 comments on commit 8b9644e

Please sign in to comment.