diff --git a/areas/apps/models.py b/areas/apps/models.py index abc3448..fd12c6e 100644 --- a/areas/apps/models.py +++ b/areas/apps/models.py @@ -63,6 +63,14 @@ class App(db.Model): if self.variables_template_filepath: k8s.create_variables_secret(self.slug, self.variables_template_filepath) + k8s.create_variables_secret( + self.slug, + os.path.join( + self.__get_templates_dir(), + "stackspin-oauth-variables.yaml.jinja" + ) + ) + def __create_kustomization(self): """Creates the `add-{app_slug}` kustomization in the Kubernetes cluster""" kustomization_template_filepath = \