Skip to content

Commit

Permalink
update zora chart
Browse files Browse the repository at this point in the history
  • Loading branch information
undistrobot committed Sep 27, 2024
1 parent 73e7d3d commit 82a2dea
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 82a2dea

Please sign in to comment.